DigitalOcean-public.v2-new_Apps
Rollback App
Rollback an app to a previous deployment. A new deployment will be created to perform the rollback. The app will be pinned to the rollback deployment preventing any new deployments from being created, either manually or through Auto Deploy on Push webhooks. To resume deployments, the rollback must be either committed or reverted.
It is recommended to use the Validate App Rollback endpoint to double check if the rollback is valid and if there are any warnings.
post/v2/apps/{app_id}/rollback
Path parameters
app_idstring required
The app ID
Request body
Example request
{
"deployment_id": "3aa4d20e-5527-4c00-b496-601fbd22520a"
}Response
A JSON object with a deployment key.