delete_meeting
Remove scheduled Zoom meetings by specifying the meeting ID, cancel recurring occurrences with the occurrence ID, and optionally notify registrants via email.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meeting_id | Yes | The meeting ID | |
| occurrence_id | No | The occurrence ID for a recurring meeting | |
| schedule_for_reminder | No | Send cancellation email to registrants |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"meeting_id": {
"description": "The meeting ID",
"type": "string"
},
"occurrence_id": {
"description": "The occurrence ID for a recurring meeting",
"type": "string"
},
"schedule_for_reminder": {
"description": "Send cancellation email to registrants",
"type": "boolean"
}
},
"required": [
"meeting_id"
],
"type": "object"
}
Implementation Reference
- src/tools/meetings.js:97-112 (handler)The handler function that executes the tool logic by making a DELETE request to the Zoom API endpoint `/meetings/${meeting_id}` with optional parameters for recurring occurrences and reminders. It returns a success message or handles errors using handleApiError.handler: async ({ meeting_id, occurrence_id, schedule_for_reminder }) => { try { const params = {}; if (occurrence_id) params.occurrence_id = occurrence_id; if (schedule_for_reminder !== undefined) params.schedule_for_reminder = schedule_for_reminder; const response = await zoomApi.delete(`/meetings/${meeting_id}`, { params }); return { content: [{ type: "text", text: "Meeting deleted successfully" }] }; } catch (error) { return handleApiError(error); }
- src/tools/meetings.js:92-96 (schema)Zod schema for input validation: requires meeting_id, optionally accepts occurrence_id for recurring meetings and schedule_for_reminder boolean.schema: { meeting_id: z.string().describe("The meeting ID"), occurrence_id: z.string().optional().describe("The occurrence ID for a recurring meeting"), schedule_for_reminder: z.boolean().optional().describe("Send cancellation email to registrants") },
- src/server.js:46-46 (registration)Registers the meetingsTools array (which includes the delete_meeting tool definition) by calling registerTools, which in turn calls server.tool() for each tool with its name, schema, handler, and description.registerTools(meetingsTools);