Delete a Monitor or Monitor Environments for a Project

DELETE /api/0/projects/{organization_slug}/{project_id_or_slug}/monitors/{monitor_id_or_slug}/

Delete a monitor or monitor environments.

Path Parameters

organization_slug (string)
REQUIRED

The slug of the organization the resource belongs to.

project_id_or_slug (string)
REQUIRED

The id or slug of the project the resource belongs to.

monitor_id_or_slug (string)
REQUIRED

The id or slug of the monitor.

Query Parameters:

environment (array(string))

The name of environments to filter by.

Scopes

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