provider Fleet Automation POST /api/unstable/fleet/deployments/{deployment_id}/cancel
@utdk/datadog /api/unstable/fleet/deployments/{deployment_id}/cancel
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.
deployment_id path required
The unique identifier of the deployment to cancel.
string

Try it

Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

cancelfleetdeployment
POST/api/unstable/fleet/deployments/{deployment_id}/cancel
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.

Parameters

required

The unique identifier of the deployment to cancel.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import datadog from '@utdk/datadog';

await datadog.cancelfleetdeployment()