Bulk Delete Alerts

DELETE /api/0/organizations/{organization_id_or_slug}/workflows/

Bulk delete alerts for a given organization

Path Parameters

organization_id_or_slug (string)
REQUIRED

The ID or slug of the organization the resource belongs to.

Query Parameters:

query (string)

An optional search query for filtering alerts.

id (array(integer))

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

project (array(integer))

The IDs of projects to filter by. -1 means all available projects. For example, the following are valid parameters:

  • /?project=1234&project=56789
  • /?project=-1

Scopes

<auth_token> requires one of the following scopes:
  • alerts:write
  • org:admin
  • org:write
Copied
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/workflows/ \
 -H 'Authorization: Bearer <auth_token>' \
 -X DELETE
RESPONSE
Copied
Success.
Was this helpful?