// Deployments

Cancel a deployment

Cancel a queued or running deployment.

POST/api/deployment/cancel

Description

Cancels a deployment that is either queued or actively running. Once cancellation is accepted the deployment transitions to a cancelling/cancelled state asynchronously.

Parameters

NameInTypeRequiredDescription
deploymentId body string yes ID of the deployment to cancel.

Errors

StatusMeaning
400 Invalid deploymentId, or the deployment is not in a Running or Queued state.
401 Missing or invalid Basic auth credentials, or the service account lacks the required role.