delete_user
Remove a user account from the Umami Analytics platform using their unique identifier. This administrative action permanently deletes user data and access.
Instructions
Delete a user (admin only)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | User UUID to delete |
Implementation Reference
- src/tools/users.ts:73-83 (handler)The 'delete_user' tool registration and handler implementation.
server.tool( "delete_user", "Delete a user (admin only)", { userId: z.string().describe("User UUID to delete"), }, async ({ userId }) => { await client.call("DELETE", `/api/users/${userId}`); return { content: [{ type: "text", text: `User ${userId} deleted successfully.` }] }; } );