delete_website
Remove a website from Umami Analytics by providing its UUID, permanently deleting associated data and analytics tracking.
Instructions
Delete a website from Umami
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| websiteId | Yes | Website UUID to delete |
Implementation Reference
- src/tools/websites.ts:73-83 (handler)The implementation of the delete_website tool, which includes both the registration (via server.tool) and the handler function that makes the DELETE request to the Umami API.
server.tool( "delete_website", "Delete a website from Umami", { websiteId: z.string().describe("Website UUID to delete"), }, async ({ websiteId }) => { await client.call("DELETE", `/api/websites/${websiteId}`); return { content: [{ type: "text", text: `Website ${websiteId} deleted successfully.` }] }; } );