Delete Alert Rule
delete_alert_ruleDelete a custom alert rule AND its entire firing history. Irreversible.
Takes two calls. Call it without confirm to see what would be destroyed and
get the phrase to pass back; call it again with that phrase to go ahead.
Prefer update_alert_rule with enabled false: that stops detection and keeps the history, and can be undone. Predefined rules cannot be deleted at all.
ref: the custom rule's uuid, from list_alert_rules.
confirm: the phrase from the first call's output.
workspace: optional workspace id, name, or org-name/workspace-name when the
same name occurs in two of your orgs (defaults to your default).
Example:
Delete the cost spike alert.
{ "name": "delete_alert_rule", "arguments": { "ref": "9c2…" } }Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| confirm | No | ||
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |