Skip to main content
Glama

user_delete

Delete a user account from the Pickaxe platform by specifying their email address. This tool removes user data across multiple studio environments including PRODUCTION, STAGING, DEV, and MAIN.

Instructions

Delete a user by email.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
studioNoStudio name to use. Available: STAGING, MAIN, DEV, PRODUCTION. Default: PRODUCTION
emailYesThe user's email address to delete

Implementation Reference

  • The execution handler for the 'user_delete' tool. It constructs the API endpoint /studio/user/{email} and performs a DELETE request using the shared pickaxeRequest helper, returning the JSON response.
    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)
    The tool registration entry in the 'tools' array. This defines the tool's name, description, and input schema (including optional 'studio' parameter and required 'email'). The 'tools' array is returned by the ListTools handler.
    { 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"], }, },
  • Input schema for the 'user_delete' tool, specifying the parameters: optional 'studio' (references shared studioParam) and required 'email' string.
    inputSchema: { type: "object", properties: { studio: studioParam, email: { type: "string", description: "The user's email address to delete", }, }, required: ["email"], },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aplaceforallmystuff/mcp-pickaxe'

If you have feedback or need assistance with the MCP directory API, please join our Discord server