update_user
Modifies user details in Zoom, including name, user type, timezone, and meeting preferences, using the specified user ID for identification through the Zoom API MCP Server.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dept | No | Department | |
| first_name | No | User's first name | |
| last_name | No | User's last name | |
| pmi | No | Personal Meeting ID | |
| timezone | No | User timezone | |
| type | No | User type | |
| use_pmi | No | Use Personal Meeting ID for instant meetings | |
| user_id | Yes | The user ID or email address |
Implementation Reference
- src/tools/users.js:79-86 (handler)The handler function implementing the update_user tool logic. It sends a PATCH request to the Zoom API to update the specified user's information.handler: async ({ user_id, ...userData }) => { try { const response = await zoomApi.patch(`/users/${user_id}`, userData); return handleApiResponse(response); } catch (error) { return handleApiError(error); } }
- src/tools/users.js:69-78 (schema)Zod schema defining the input parameters and validation for the update_user tool.schema: { user_id: z.string().describe("The user ID or email address"), first_name: z.string().optional().describe("User's first name"), last_name: z.string().optional().describe("User's last name"), type: z.number().min(1).max(99).optional().describe("User type"), pmi: z.string().optional().describe("Personal Meeting ID"), use_pmi: z.boolean().optional().describe("Use Personal Meeting ID for instant meetings"), timezone: z.string().optional().describe("User timezone"), dept: z.string().optional().describe("Department") },
- src/server.js:47-47 (registration)Registers the usersTools array containing the update_user tool (among others) with the MCP server via the registerTools utility function.registerTools(usersTools);