Create a New Deploy for an Organization

Create a deploy.

Path Parameters

organization_slug (string)
REQUIRED

The slug of the organization.

version (string)
REQUIRED

The version identifier of the release.

Body Parameters

environment (string)
REQUIRED
url (string)
name (string)
dateStarted (string)
dateFinished (string)

Scopes

<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"
}