---
title: "Delete an Organization Release's File"
url: https://docs.sentry.io/api/releases/delete-an-organization-releases-file/
---

# Delete an Organization Release's File | Sentry Docs

DELETE /api/0/organizations/{organization\_id\_or\_slug}/releases/{version}/files/{file\_id}/

Permanently remove a file from a release. Also removes the physical file from storage.

### Path Parameters

* `organization_id_or_slug` *(string)*

  REQUIRED

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

* `version` *(string)*

  REQUIRED

  The version identifier of the release

* `file_id` *(string)*

  REQUIRED

  The ID of the release file.

### 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}/releases/{version}/files/{file_id}/ \
 -H 'Authorization: Bearer <auth_token>' \
 -X DELETE
```

RESPONSE

```
Copied
No Content.
```

---

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.
