Delete Alert Rule
delete_alert_rulePermanently deletes a Sentry alert workflow and its notifications across every connected project and monitor; connected monitors remain intact.
Instructions
Permanently delete a Sentry Alert (notification workflow) and its notifications for every connected project and monitor. Connected monitors are kept. To stop one source or pause it, use update_alert_rule. Metric Monitors are deleted with delete_metric_monitor.
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": {
"ruleId": "<ruleId>"
},
"name": "delete_alert_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ruleId | Yes | Alert workflow ID from get_alert_rule with `issue`. Metric Monitor and legacy metric alert IDs are not workflow IDs. | |
| regionUrl | No | ||
| projectSlug | No | ||
| organizationSlug | No | The organization slug, from `find_organizations`. In `org/project` notation, the part before the slash. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ruleId | Yes | ||
| success | Yes |