delete_user
Remove or disassociate a user from a Zoom account by providing their user ID or email. Supports permanent deletion or account disassociation via the Zoom API MCP Server.
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": {
"user_id": "<user_id>",
"action": "<action>"
},
"name": "delete_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Delete action (delete: permanently delete, disassociate: disassociate from account) | |
| user_id | Yes | The user ID or email address |
Implementation Reference
- src/tools/users.js:95-109 (handler)The handler function that performs the actual deletion by calling the Zoom API DELETE endpoint `/users/${user_id}` with the specified action, handling success and error responses.
handler: async ({ user_id, action }) => { try { const response = await zoomApi.delete(`/users/${user_id}`, { params: { action } }); return { content: [{ type: "text", text: "User deleted successfully" }] }; } catch (error) { return handleApiError(error); } } - src/tools/users.js:91-94 (schema)Zod schema for input validation of delete_user tool parameters: user_id (string) and action (enum ["delete", "disassociate"]).
schema: { user_id: z.string().describe("The user ID or email address"), action: z.enum(["delete", "disassociate"]).describe("Delete action (delete: permanently delete, disassociate: disassociate from account)") }, - src/server.js:47-47 (registration)Registers the usersTools array to the MCP server, which includes the delete_user tool among others.
registerTools(usersTools);