Skip to main content
Glama
mikusnuz

umami-mcp

remove_team_user

Remove a user from a team in Umami Analytics by specifying the team and user IDs to manage team access and permissions.

Instructions

Remove a user from a team

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
teamIdYesTeam UUID
userIdYesUser UUID to remove

Implementation Reference

  • Implementation of the remove_team_user tool, including schema registration and handler logic.
    server.tool(
      "remove_team_user",
      "Remove a user from a team",
      {
        teamId: z.string().describe("Team UUID"),
        userId: z.string().describe("User UUID to remove"),
      },
      async ({ teamId, userId }) => {
        await client.call("DELETE", `/api/teams/${teamId}/users/${userId}`);
        return { content: [{ type: "text", text: `User ${userId} removed from team ${teamId}.` }] };
      }
    );

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