Delete an Organization's Discover Saved Query

DELETE /api/0/organizations/{organization_id_or_slug}/discover/saved/{query_id}/

Delete a saved query.

Path Parameters

organization_id_or_slug (string)
REQUIRED

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

query_id (integer)
REQUIRED

The ID of the Discover query you'd like to retrieve.

Scopes

<auth_token> requires one of the following scopes:
  • org:admin
  • org:read
  • org:write
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/discover/saved/{query_id}/ \
 -H 'Authorization: Bearer <auth_token>' \
 -X DELETE
RESPONSE
No Content.