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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"webhook_id": "<webhook_id>"
},
"name": "delete_webhook"
}
}Input 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';