v1

latestSwagger 2.02026-07-17163756.2 KB
commands

Cancel commands

Cancels commands that are currently in progress. Can cancel either the most recent command or commands matching a query.

post/commands/cancel

Query parameters

querystring

Optional query string to select commands to cancel. If not provided, cancels the most recent command.

forceboolean

If true, abandon in-progress work and drive the command to a terminal 'Canceled' state immediately instead of waiting for in-progress resources to finish. Defaults to false.

Headers

Client-IDstring required

Unique identifier for the client.

Response

Accepted: Commands are being canceled.

CommandIdsstring[]
Forcedboolean

Forced is true when the cancellation was requested with --force. The CLI uses this to surface the force-cancel warning and the list of resources that were abandoned mid-operation.

ResourceUpdateStatesobject