Deplo
API Reference

Promote (rollback to) a deployment

Makes the specified deployment the current live deployment for the project.

PATCH
/projects/{projectId}/deployments/{deploymentId}/promote
AuthorizationBearer <token>

Enter your JWT token

In: header

Path Parameters

projectId*string

Project ID

deploymentId*string

Deployment ID to promote

Header Parameters

X-Workspace-Id?string

Required when authenticating with a JWT

Response Body

curl -X PATCH "https://loading/projects/string/deployments/string/promote"
Empty
Empty
Empty