user_delete
Remove a user account from the Pickaxe platform using their email address to manage access and maintain user lists across studio environments.
Instructions
Delete a user by email.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| studio | No | Studio name to use. Available: STAGING, MAIN, DEV, PRODUCTION. Default: PRODUCTION | |
| Yes | The user's email address to delete |
Implementation Reference
- src/index.ts:559-567 (handler)The handler function for the 'user_delete' tool. It performs a DELETE request to the Pickaxe API to delete the user by email.case "user_delete": { const result = await pickaxeRequest( `/studio/user/${encodeURIComponent(args.email as string)}`, "DELETE", undefined, studio ); return JSON.stringify(result, null, 2); }
- src/index.ts:361-375 (registration)Registration of the 'user_delete' tool in the tools array, including its metadata and input schema.{ name: "user_delete", description: "Delete a user by email.", inputSchema: { type: "object", properties: { studio: studioParam, email: { type: "string", description: "The user's email address to delete", }, }, required: ["email"], }, },
- src/index.ts:364-374 (schema)Input schema definition for the 'user_delete' tool, specifying parameters like studio and required email.inputSchema: { type: "object", properties: { studio: studioParam, email: { type: "string", description: "The user's email address to delete", }, }, required: ["email"], },