Update an Organization Release File

Update an organization release file.

Path Parameters

organization_slug (string)
REQUIRED
The slug of the organization.
version (string)
REQUIRED
The version identifier of the release.
file_id (string)
REQUIRED
The ID of the file to retrieve.

Body Parameters

name (string)
The new name (full path) of the file.
dist (string)
The new name of the dist.

Scopes

<auth_token> requires the following scopes:
  • project:releases
PUT /api/0/organizations/{organization_slug}/releases/{version}/files/{file_id}/
curl https://sentry.io/api/0/organizations/{organization_slug}/releases/{version}/files/{file_id}/ \
 -H 'Authorization: Bearer <auth_token>' \
 -X PUT \
 -H 'Content-Type: application/json' \
 -d '{"name":"/demo/goodbye.txt"}'
RESPONSESCHEMA
{
  "dateCreated": "2018-11-06T21:20:22.894Z",
  "dist": null,
  "headers": {
    "Content-Type": "text/plain; encoding=utf-8"
  },
  "id": "3",
  "name": "/demo/goodbye.txt",
  "sha1": "94d6b21e962a9fc65889617ec1f17a1e2fe11b65",
  "size": 15
}