corestack_ enterprise_ deployment_ cancel
Cancel a CoreStack Enterprise deployment.
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 / answers the same.
Ask for it
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
{
"name": "corestack_enterprise_deployment_cancel",
"arguments": {
"enterprise_env_id": 1530,
"deployment_id": 185190
}
}If it is refused
| Reason | What to do |
|---|---|
stale | The 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. |
busy | The 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_arguments | A CoreStack or CoreCluster environment; use corestack_deployment_stop by site_id. |
tenant_mismatch | The object does not exist or the token may not see it. Check the id. |
pin_refused | The 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_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
rate_limited | Too many calls. Wait for the number of seconds the answer names. |
temporarily_unavailable | The Control Panel could not answer just now. Nothing was started; try again shortly. |
internal_error | Something went wrong on our side. Quote the trace id to support. |
The same task elsewhere
Was this helpful?