CorefinityCorefinityDocs
Open the Control PanelControl Panel
Deployments · 8 of 65

corestack_deployment_stop

Stop a deployment.

Scope writeNo secrets returnedCoreCluster
On this page

When to use it

Stop a deployment that is queued or running. Where Stop termination is enabled for the environment, a running step's commands are ended on the servers it used as well as on the Control Panel; a step that could not be confirmed ended is reported on the deployment and staff are alerted — read it on the site's deployments (corestack_deployments_get, in the row's stop_termination) or, for a CoreStack Enterprise environment, on corestack_enterprise_deployment_get (view.stop_termination). The page shows the same sentence.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_deployment_stop with site_id 4211, deployment_id 6610. (Stop a deployment.) Tell me what it returned.

Inputs

deployment_idintegerRequired

At least 1.

site_idintegerRequired

At least 1.

Example call

tools/call
{
  "name": "corestack_deployment_stop",
  "arguments": {
    "site_id": 4211,
    "deployment_id": 6610
  }
}

If it is refused

ReasonWhat to do
managed_elsewhereAnother control panel manages this site, so use that control panel for it. This is refused before anything else about the site, as in the Control Panel and the API. Nothing was done.
forbiddenThe person's role lacks the Stop Deployments permission. The message names it and says an owner of the company can grant it in Roles; details.permission is stopDeployments. Nothing is changed.
invalid_argumentsThe arguments do not match the tool's input schema, or the Control Panel refused a field. Fix the fields named in the answer and call again.
tenant_mismatchThe object does not exist or the token may not see it. Check the id.
scope_requiredThe token lacks a scope this call needs. Open the link in the answer to add it, then call again.
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.
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