Skip to main content
Glama
jfrog

JFrog MCP Server

Official
by jfrog

jfrog_delete_permission_target

Remove a permission target from the JFrog platform by specifying its name to manage user access and permissions effectively.

Instructions

Delete a permission target from the JFrog platform

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe name of the permission target to delete

Implementation Reference

  • Tool registration for 'jfrog_delete_permission_target', including description, input schema, and handler function that calls deletePermissionTarget.
    const deletePermissionTargetTool = { name: "jfrog_delete_permission_target", description: "Delete a permission target from the JFrog platform", inputSchema: zodToJsonSchema(z.object({ name: z.string().describe("The name of the permission target to delete") })), // //outputSchema: zodToJsonSchema(z.object({ // success: z.boolean() // })), handler: async (args: any) => { return await deletePermissionTarget(args.name); } };
  • Core helper function that performs the actual DELETE API request to remove the permission target.
    export async function deletePermissionTarget(name: string) { await jfrogRequest(`/access/api/v2/permissions/${name}`, { method: "DELETE", }); return { success: true }; }
  • Module-level registration exporting array of all permissions tools, including jfrog_delete_permission_target.
    export const PermissionsTools = [ listPermissionTargetsTool, getPermissionTargetTool, createPermissionTargetTool, updatePermissionTargetTool, deletePermissionTargetTool, getPermissionResourceTool, updatePermissionResourceTool, replacePermissionResourceTool, deletePermissionResourceTool ];
  • tools/index.ts:13-23 (registration)
    Global tools array registration that includes PermissionsTools, thereby registering jfrog_delete_permission_target.
    export const tools =[ ...RepositoryTools, ...BuildsTools, ...RuntimeTools, ...AccessTools, ...AQLTools, ...CatalogTools, ...CurationTools, ...PermissionsTools, ...ArtifactSecurityTools, ];
  • tools/index.ts:10-10 (registration)
    Import of PermissionsTools module containing the jfrog_delete_permission_target tool.
    import { PermissionsTools } from "./permissions.js";

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jfrog/mcp-jfrog'

If you have feedback or need assistance with the MCP directory API, please join our Discord server