v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Fleet Automation

Cancel a deployment

Cancel an active deployment and stop all pending operations. When you cancel a deployment:

  • All pending operations on hosts that haven't started yet are stopped
  • Operations currently in progress on hosts may complete or be interrupted, depending on their current state
  • Configuration changes or package upgrades already applied to hosts are not rolled back

After cancellation, you can view the final state of the deployment using the GET endpoint to see which hosts were successfully updated before the cancellation.

post/api/unstable/fleet/deployments/{deployment_id}/cancel

Path parameters

deployment_idstring required

The unique identifier of the deployment to cancel.

Response

Deployment successfully canceled.