Delete an Issue Alert Rule
DELETE /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/rules/{rule_id}/
Delete a specific issue alert rule.
An issue alert rule triggers whenever a new event is received for any issue in a project that matches the specified alert conditions. These conditions can include a resolved issue re-appearing or an issue affecting many users. Alert conditions have three parts:
- Triggers: specify what type of activity you'd like monitored or when an alert should be triggered.
- Filters: help control noise by triggering an alert only if the issue matches the specified criteria.
- Actions: specify what should happen when the trigger conditions are met and the filters match.
Path Parameters
organization_id_or_slug
(string)REQUIREDThe id or slug of the organization the resource belongs to.
project_id_or_slug
(string)REQUIREDThe id or slug of the project the resource belongs to.
rule_id
(integer)REQUIREDThe ID of the rule you'd like to query.
Scopes
You need to authenticate via bearer auth token.
<auth_token>
requires one of the following scopes:alerts:write
project:admin
project:write
curl https://sentry.io/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/rules/{rule_id}/ \ -H 'Authorization: Bearer <auth_token>' \ -X DELETE
RESPONSE
Accepted.