delete_webhook
Remove a specific webhook from the Zoom API MCP Server by providing its unique webhook ID. This action terminates the webhook’s event notifications and ensures clean resource management.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webhook_id | Yes | The webhook ID |
Implementation Reference
- src/tools/webhooks.js:77-89 (handler)The handler function that executes the delete_webhook tool logic by calling the Zoom API to delete the specified webhook and returning a success message or error.handler: async ({ webhook_id }) => { try { const response = await zoomApi.delete(`/webhooks/${webhook_id}`); return { content: [{ type: "text", text: "Webhook deleted successfully" }] }; } catch (error) { return handleApiError(error); } }
- src/tools/webhooks.js:74-76 (schema)Input schema using Zod for the delete_webhook tool, requiring a webhook_id string.schema: { webhook_id: z.string().describe("The webhook ID") },
- src/server.js:55-55 (registration)Registration of the webhooksTools array in the MCP server, which includes the delete_webhook tool.registerTools(webhooksTools);
- src/server.js:11-11 (registration)Import of webhooksTools containing the delete_webhook tool definition.import { webhooksTools } from './tools/webhooks.js';