Approve a deployment

Approves a deployment. The Require review and approval toggle must be enabled in Workspace admin > Settings > Deployments to access this endpoint.

Path parameters

idintegerRequired
The unique identifier of the deployment to approve.

Headers

AuthorizationstringRequired

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

Request

This endpoint expects an object.
commentstringOptional
A comment explaining the approval decision.

Response

Success reply
reviewobject

Errors