delete_channel
Remove a specified channel from Zoom using its channel ID. The tool ensures proper validation and authentication for secure deletion within the Zoom API MCP Server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | The channel ID |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"channel_id": {
"description": "The channel ID",
"type": "string"
}
},
"required": [
"channel_id"
],
"type": "object"
}
Implementation Reference
- src/tools/chat.js:81-93 (handler)Handler function that performs the DELETE request to Zoom API endpoint for deleting a channel and returns success message or handles error.handler: async ({ channel_id }) => { try { const response = await zoomApi.delete(`/chat/channels/${channel_id}`); return { content: [{ type: "text", text: "Channel deleted successfully" }] }; } catch (error) { return handleApiError(error); } }
- src/tools/chat.js:78-80 (schema)Zod schema defining the input parameter: channel_id as string.schema: { channel_id: z.string().describe("The channel ID") },
- src/server.js:50-50 (registration)Registers the chatTools array, which includes the delete_channel tool, with the MCP server.registerTools(chatTools);