Create a New Deploy for an Organization
Create a deploy.
Path Parameters
organization_slug
(string)REQUIREDThe slug of the organization.
version
(string)REQUIREDThe version identifier of the release.
Body Parameters
environment
(string)REQUIREDurl
(string)name
(string)dateStarted
(string)dateFinished
(string)
Scopes
You need to authenticate via bearer auth token.
<auth_token>
requires the following scopes:project:releases
POST /api/0/organizations/{organization_slug}/releases/{version}/deploys/
curl https://sentry.io/api/0/organizations/{organization_slug}/releases/{version}/deploys/ \ -H 'Authorization: Bearer <auth_token>' \ -H 'Content-Type: application/json' \ -d '{"environment":"prod"}'
RESPONSESCHEMA
{
"environment": "prod",
"name": null,
"url": null,
"dateStarted": null,
"dateFinished": "2020-08-31T19:40:38.651670Z",
"id": "1234567"
}