Update an Organization's Release
Update a release for a given organization.
Path Parameters
organization_slug
(string)REQUIREDThe slug of the organization the release belongs to.
version
(string)REQUIREDThe version identifier of the release.
Body Parameters
ref
(string)url
(string)dateReleased
(string)commits
(array)refs
(array)
Scopes
You need to authenticate via bearer auth token.
<auth_token>
requires the following scopes:project:releases
PUT /api/0/organizations/{organization_slug}/releases/{version}/
curl https://sentry.io/api/0/organizations/{organization_slug}/releases/{version}/ \ -H 'Authorization: Bearer <auth_token>' \ -X PUT \ -H 'Content-Type: application/json' \ -d '{"ref":"freshtofu","url":"https://vcshub.invalid/user/project/refs/freshtofu"}'
RESPONSESCHEMA
{
"authors": [],
"commitCount": 0,
"data": {},
"dateCreated": "2019-01-03T00:12:55.109Z",
"dateReleased": null,
"deployCount": 0,
"firstEvent": null,
"lastCommit": null,
"lastDeploy": null,
"lastEvent": null,
"newGroups": 0,
"owner": null,
"projects": [
{
"name": "Pump Station",
"slug": "pump-station"
}
],
"ref": "6ba09a7c53235ee8a8fa5ee4c1ca8ca886e7fdbb",
"shortVersion": "2.0rc2",
"url": null,
"version": "2.0rc2"
}