Skip to main content
Glama
mikusnuz

umami-mcp

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
NameRequiredDescriptionDefault
userIdYesUser UUID to delete

Implementation Reference

  • 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.` }] };
      }
    );

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/mikusnuz/umami-mcp'

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