Reset a website (delete all data)
umami_reset_websiteReset a website's analytics by permanently deleting all pageviews, sessions, and events while preserving the site registration and tracking ID. Data collection restarts fresh after confirmation.
Instructions
Permanently delete all collected data for a website: every pageview, session, and event. The website registration and tracking ID are kept, so the tracking script keeps working and data collection starts fresh.
This cannot be undone. Requires confirm=true.
Args:
website (string, required): Website ID, name, or domain.
confirm (boolean, required): Must be true. There is no undo.
Returns: { "ok": true, "website_id": string }
Examples:
"Wipe the test data we collected before going live" -> website="example.com", confirm=true
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"confirm": "<confirm>"
},
"name": "umami_reset_website"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be set to true to confirm this destructive, irreversible action. There is no undo. | |
| website | No | Website ID (UUID), name, or domain. Optional if UMAMI_DEFAULT_WEBSITE is set. Use umami_list_websites to discover values. |