Stage Rollback

Restore a previously released immutable revision into staging. Requires production rollback and staging deploy permissions. Production only changes through a subsequent promotion PR.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

trunkIdstringRequired
contextKeystringRequired

Request

This endpoint expects an object.
revisionIdstringRequiredformat: "^[a-f0-9]{64}$"
expectedStagingRevisionIdstringRequiredformat: "^[a-f0-9]{64}$"
reasonstringRequired1-500 characters

Response

Staging restored; receipt contains revisionId

Errors

400
Bad Request Error
403
Forbidden Error
409
Conflict Error