remove_team_website
Remove a website from a team in Umami Analytics by specifying team and website IDs to manage team access and permissions.
Instructions
Remove a website from a team
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| teamId | Yes | Team UUID | |
| websiteId | Yes | Website UUID to remove from the team |
Implementation Reference
- src/tools/teams.ts:192-203 (handler)The tool definition and handler implementation for remove_team_website.
server.tool( "remove_team_website", "Remove a website from a team", { teamId: z.string().describe("Team UUID"), websiteId: z.string().describe("Website UUID to remove from the team"), }, async ({ teamId, websiteId }) => { await client.call("DELETE", `/api/teams/${teamId}/websites/${websiteId}`); return { content: [{ type: "text", text: `Website ${websiteId} removed from team ${teamId}.` }] }; } );