Delete a saved segment or cohort
umami_delete_segment_cohortPermanently delete a saved segment or cohort from Umami by providing its ID and setting confirm=true. This irreversible action removes it from the UI.
Instructions
Permanently delete a saved Segment or Cohort so it no longer appears in the Umami UI. Get the ID from umami_list_segments_cohorts.
This cannot be undone. Requires confirm=true.
Args:
website (string, optional): Website ID, name, or domain.
report_id (string, required): The segment/cohort's ID.
confirm (boolean, required): Must be true. There is no undo.
Returns: { "ok": true, "report_id": string }
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. | |
| report_id | Yes | The segment/cohort's ID, from umami_list_segments_cohorts. |