v1

latestOpenAPI 3.0.22026-07-26207170320.9 KB
Deploys

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.

post/services/{serviceId}/rollback

Request body

deployIdstring required

The ID of the deploy to roll back to

Response

OK

idstring required
status'created' | 'queued' | 'build_in_progress' | 'update_in_progress' | 'live' | 'deactivated' | 'build_failed' | 'update_failed' | 'canceled' | 'pre_deploy_in_progress' | 'pre_deploy_failed'
trigger'api' | 'blueprint_sync' | 'deploy_hook' | 'deployed_by_render' | 'manual' | 'other' | 'new_commit' | 'rollback' | 'service_resumed' | 'service_updated'
startedAtstring date-time
finishedAtstring date-time
createdAtstring date-time
updatedAtstring date-time