Skip to content

Deployment

deployment_deployment_cancel

Cancel a non-terminal deployment, releasing the in-progress lock so the service can deploy again

Tool

deployment_deployment_cancel

Cancel a non-terminal deployment, releasing the in-progress lock so the service can deploy again

Cancel a non-terminal deployment, releasing the in-progress lock so the service can deploy again

Behavior

HTTP
POST /deployment/services/:serviceId/cancel

Arguments

NameTypeRequiredDescription
serviceIdstringNo description in the catalog.
deploymentIdstringNo description in the catalog.

Response

FieldTypeAlwaysDescription
idstring
statusstring
builtAtstring
imageRefstring
commitShastring
createdAtstring
serviceIdstring
startedAtstring
updatedAtstring
deployedAtstring
finishedAtstring
cloudBuildIdstring
configSnapshotobject
lastErrorMessagestring
rolledBackFromDeploymentIdstring

Try it

Cancel a non-terminal deployment, releasing the in-progress lock so the service can deploy again.

When to use

Cancel a non-terminal deployment, releasing the in-progress lock so the service can deploy again

Example

Ask your agent something like this:

Cancel a non-terminal deployment, releasing the in-progress lock so the service can deploy again.

The agent will invoke deployment_deployment_cancel with these arguments:

{
  "serviceId": "<serviceId>",
  "deploymentId": "<deploymentId>"
}

Esc

Start typing to search the docs.

navigateselect