---
title: "Delete a Snapshot"
url: https://docs.sentry.io/api/snapshots/delete-a-snapshot/
---

# Delete a Snapshot | Sentry Docs

DELETE /api/0/organizations/{organization\_id\_or\_slug}/preprodartifacts/snapshots/{snapshot\_id}/

Delete a snapshot and all associated data (images, comparisons, metrics).

This is a permanent, irreversible operation. The snapshot and its images will no longer be accessible after deletion.

This endpoint requires a bearer token with `project:write` access.

### Path Parameters

* `organization_id_or_slug` *(string)*

  REQUIRED

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

* `snapshot_id` *(string)*

  REQUIRED

  The ID of the snapshot to delete.

### Scopes

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

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

* `project:admin`
* `project:releases`

```
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/preprodartifacts/snapshots/{snapshot_id}/ \
 -H 'Authorization: Bearer <auth_token>' \
 -X DELETE
```

RESPONSE

```
Copied
No response body.
```

---

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.
