---
title: "Update an Organization Release File"
url: https://docs.sentry.io/api/releases/update-an-organization-release-file/
---

# Update an Organization Release File | Sentry Docs

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

Update metadata of an existing release file. Currently only the name of the file can be changed.

### 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.

### Body Parameters

* `name` *(string)*

  REQUIRED

  The new name (full path) of the 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:

* `org:ci`
* `project:admin`
* `project:releases`
* `project:write`

```
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/releases/{version}/files/{file_id}/ \
 -H 'Authorization: Bearer <auth_token>' \
 -X PUT \
 -H 'Content-Type: application/json' \
 -d '{}'
```

RESPONSESCHEMA

```
Copied
.
```

---

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.
