Roll back deploy
render_rollback_deployRoll back a Render service to a specified previous successful deploy by providing its deploy ID. Use after a bad deployment to restore the last known good state; note autodeploys remain active unless toggled.
Instructions
Roll back deploy. Trigger a rollback to a previous deploy of the specified service. Triggering a rollback with this endpoint does not disable autodeploys for the service. This means an autodeploy might restore changes you had intentionally rolled back. You can toggle autodeploys for your service with the Update service endpoint or in the Render Dashboard. Calls POST /services/{serviceId}/rollback on the Render Public API. Usage: deployId must be a previously successful deploy of this same service — list candidates with render_list_deploys and pick one whose status is live.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deployId | Yes | The ID of the deploy to roll back to | |
| serviceId | Yes | The ID of the service |