Skip to main content
Glama
JurreBrandsenInfoSupport

Zendesk API MCP Server

delete_group

Remove a group from Zendesk Support by specifying its ID to manage organizational structure and access permissions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesGroup ID to delete

Implementation Reference

  • The main handler function for the 'delete_group' tool. It takes a group ID, calls zendeskClient.deleteGroup(id), and returns a success message or error response.
    handler: async ({ id }) => { try { await zendeskClient.deleteGroup(id); return { content: [{ type: "text", text: `Group ${id} deleted successfully!` }] }; } catch (error) { return { content: [{ type: "text", text: `Error deleting group: ${error.message}` }], isError: true }; } }
  • Zod schema defining the input parameter 'id' as a required number for the group to delete.
    schema: { id: z.number().describe("Group ID to delete") },
  • src/server.js:48-52 (registration)
    Registration of all tools, including 'delete_group' from groupsTools, with the MCP server using server.tool().
    allTools.forEach((tool) => { server.tool(tool.name, tool.schema, tool.handler, { description: tool.description, }); });
  • Helper method in ZendeskClient that performs the actual API DELETE request to remove the group.
    async deleteGroup(id) { return this.request("DELETE", `/groups/${id}.json`); }
  • src/server.js:35-35 (registration)
    Inclusion of groupsTools (containing delete_group) in the allTools array for registration.
    ...groupsTools,

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/JurreBrandsenInfoSupport/zendesk-mcp'

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