Projects
post/projects/{project_id}/deployments/{deployment_id}/rollback
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/projects/{project_id}/deployments/{deployment_id}/rollback
- Auth: none declared
Path parameters
project_idinteger required
Project ID
deployment_idinteger required
Deployment ID to rollback to
Response
Rollback initiated successfully
Example response
{
"environment": {
"service_urls": [
{
"port": 3000,
"service": "web",
"url": "https://web--production.localho.st"
}
]
}
}Changes
- warning
added the new
image_pull_failedenum value to the/////response property for the response status - warning
added the new
registry_unavailableenum value to the/////response property for the response status
- warning
- info
added the optional property
to the response with the status
- info