v1

latestOpenAPI 3.0.22026-07-26207170320.9 KB
Deploys

Cancel deploy

Cancel an in-progress deploy for a service.

Not supported for cron jobs.

post/services/{serviceId}/deploys/{deployId}/cancel

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