v1

latestOpenAPI 3.0.3Apache 2.02026-07-142201861.5 MB
Events

Bulk Remove an Organization's Issues

Permanently remove the given issues. If IDs are provided, queries and filtering will be ignored. If any IDs are out of scope, the data won't be mutated but the endpoint will still produce a successful response. For example, if no issues were found matching the criteria, a HTTP 204 is returned.

delete/api/0/organizations/{organization_id_or_slug}/issues/

Path parameters

organization_id_or_slugstring required

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

Query parameters

environmentstring[]

The name of environments to filter by.

The IDs or slugs of projects to filter by. Project slugs are unique within each organization. Omit this parameter to include all accessible projects. -1 is also accepted to include all accessible projects. For example, the following are valid parameters:

  • /?project=1234&project=56789
  • /?project=android&project=javascript-react
  • /?project=-1
idinteger[]

The list of issue IDs to be removed. If not provided, it will attempt to remove the first 1000 issues.

querystring

An optional search query for filtering issues. A default query will apply if no view/query is set. For all results use this parameter with an empty string.

viewIdstring

The ID of the view to use. If no query is present, the view's query and filters will be applied.

sort'date' | 'freq' | 'inbox' | 'new' | 'recommended' | 'trends' | 'user'

The sort order of the view. Options include 'Last Seen' (date), 'First Seen' (new), 'Trends' (trends), 'Events' (freq), 'Users' (user), 'Date Added' (inbox), and 'Recommended' (recommended).

limitinteger

The maximum number of issues to affect. The maximum is 100.

Response

No Content