---
title: "Bulk Remove a List of Issues"
url: https://docs.sentry.io/api/events/bulk-remove-a-list-of-issues/
---

# Bulk Remove a List of Issues | Sentry Docs

DELETE /api/0/projects/{organization\_id\_or\_slug}/{project\_id\_or\_slug}/issues/

Permanently remove the given issues. The list of issues to modify is given through the `id` query parameter. It is repeated for each issue that should be removed.

If any IDs are out of scope this operation will succeed without any data mutation.

### Path Parameters

* `organization_id_or_slug` *(string)*

  REQUIRED

  The ID or slug of the organization the issues belong to.

* `project_id_or_slug` *(string)*

  REQUIRED

  The ID or slug of the project the issues belong to.

### Query Parameters:

* `id` *(integer)*

  A list of IDs of the issues to be removed. This parameter shall be repeated for each issue, e.g. `?id=1&id=2&id=3`. If this parameter is not provided, it will attempt to remove the first 1000 issues.

* `query` *(string)*

  An optional Sentry structured search query that selects the issues to remove when `id` is not provided. If not provided an implied `"is:unresolved"` is assumed. Use `is:<status>` (e.g. `is:resolved`) to limit it to issues with that status.

### Scopes

You need to [authenticate via bearer auth token.](https://docs.sentry.io/api/auth.md)

`<auth_token>` requires one of the following scopes:

* `event:admin`

```
curl https://sentry.io/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/issues/ \
 -H 'Authorization: Bearer <auth_token>' \
 -X DELETE
```

RESPONSE

```
Copied
Success.
```

---

Find other pages: [Sitemap](https://docs.sentry.io/sitemap.md) lists every page with a one-line summary, and [llms.txt](https://docs.sentry.io/llms.txt) gives an overview with guidance for agents.
