Update an Organization’s Release

PUT /api/0/organizations/{organization_slug}/releases/{version}/

Update a release. This can change some metadata associated with the release (the ref, url, and dates).

Path Parameters:
  • organization_slug (string) – the slug of the organization the release belongs to.
  • version (string) – the version identifier of the release.
  • ref (string) – an optional commit reference. This is useful if a tagged version has been provided.
  • url (url) – a URL that points to the release. This can be the path to an online interface to the sourcecode for instance.
  • dateReleased (datetime) – an optional date that indicates when the release went live. If not provided the current time is assumed.
  • commits (array) – an optional list of commit data to be associated with the release. Commits must include parameters id (the sha of the commit), and can optionally include repository, message, author_name, author_email, and timestamp.
  • refs (array) – an optional way to indicate the start and end commits for each repository included in a release. Head commits must include parameters repository and commit (the HEAD sha). They can optionally include previousCommit (the sha of the HEAD of the previous release), which should be specified if this is the first time you’ve sent commit data.


PUT /api/0/organization/the-interstellar-jurisdiction/releases/3000/ HTTP/1.1
Authorization: Bearer {base64-encoded-key-here}
Host: sentry.io
Content-Type: application/json

  "url": "https://vcshub.invalid/user/project/refs/deadbeef1337",
  "ref": "deadbeef1337"
Content-Language: en
Content-Length: 0
Content-Type: text/html; charset=utf-8
Vary: Accept-Language, Cookie
X-Content-Type-Options: nosniff
X-Frame-Options: deny
X-Xss-Protection: 1; mode=block