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
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/unstable/fleet/deployments/{deployment_id}/cancel
- AuthAPI key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
Path parameters
deployment_idstring required
The unique identifier of the deployment to cancel.
Response
Deployment successfully canceled.
Changes
No recorded changes to this operation across all 1 revision of this API.