Delete an Issue Alert Rule

DELETE /api/0/projects/{organization_slug}/{project_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_slug (string)
REQUIRED

The slug of the organization the resource belongs to.

project_slug (string)
REQUIRED

The slug of the project the resource belongs to.

rule_id (integer)
REQUIRED

The ID of the rule you'd like to query.

Scopes

<auth_token> requires one of the following scopes:
  • alerts:write
  • project:admin
  • project:write
curl https://sentry.io/api/0/projects/{organization_slug}/{project_slug}/rules/{rule_id}/ \
 -H 'Authorization: Bearer <auth_token>' \
 -X DELETE
RESPONSE
Accepted.