CorefinityCorefinityDocs
Open the Control PanelControl Panel
Deployments · 53 of 65

corestack_enterprise_deployment_cancel

Cancel a CoreStack Enterprise deployment.

Scope writeNo secrets returned
On this page

When to use it

Cancel a CoreStack Enterprise deployment that has not finished: queued, waiting to be deployed, running, or a legacy scheduled one. This is the deployments list's Cancel and the deployment page's Stop. A running deployment stops at its current step and its crons are put back. The answer is the deployment's row.

The public API's POST /api/environments/{environment}/deployments/{deployment}/cancel answers the same.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_enterprise_deployment_cancel with enterprise_env_id 1530, deployment_id 185190. (Cancel a CoreStack Enterprise deployment.) Tell me what it returned.

Inputs

deployment_idintegerRequired

At least 1.

enterprise_env_idintegerRequired

A CoreStack Enterprise environment's id; for CoreStack or CoreCluster use the corestack_deployment_* tools. At least 1.

Example call

tools/call
{
  "name": "corestack_enterprise_deployment_cancel",
  "arguments": {
    "enterprise_env_id": 1530,
    "deployment_id": 185190
  }
}

If it is refused

ReasonWhat to do
staleThe deployment has already finished ("Only a deployment that has not finished can be cancelled."), or it moved on since it was read. Read it again.
busyThe same cancellation is still being applied. forbidden: the person's role lacks the Cancel Deployments permission. The message names it and says an owner of the company can grant it in Roles; details.permission is cancelDeployments.
invalid_argumentsA CoreStack or CoreCluster environment; use corestack_deployment_stop by site_id.
tenant_mismatchThe object does not exist or the token may not see it. Check the id.
pin_refusedThe grant is limited to chosen clusters, sites or environments, and this call is outside them. Open the link in the answer to widen it.
scope_requiredThe token lacks a scope this call needs. Open the link in the answer to add it, then call again.
rate_limitedToo many calls. Wait for the number of seconds the answer names.
temporarily_unavailableThe Control Panel could not answer just now. Nothing was started; try again shortly.
internal_errorSomething went wrong on our side. Quote the trace id to support.

The same task elsewhere

Was this helpful?
Open in ClaudeOpen in ChatGPT