Skip to main content
POST
Roll back to an earlier release

Authorizations

Authorization
string
header
required

An API key: dz__.

Headers

Idempotency-Key
string

A value your pipeline chooses for this operation. Repeat the request with the same value and release to get the same job. The same value with another release answers 409 IDEMPOTENCY_KEY_REUSED.

Path Parameters

id
string<uuid>
required

The deployment id.

Body

application/json
releaseId
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Response

The same rollback already exists: it is queued or running, or it was started with the same Idempotency-Key.

success
any
required
message
string
required
data
object
required
request_id
string
required