CorefinityCorefinityDocs
Open the Control PanelControl Panel
Deployments · 61 of 65

corestack_company_deployment_connection_delete

Remove a deployment connection.

Scope writeAsks you to confirmNo secrets returned
On this page

When to use it

Remove one of your company's deployment connections, for example an account that has left the company or a duplicate. Only the company's owners may remove a connection, and only while no environment deploys through it: move each environment that uses it to another connection first (its deployment settings in the Control Panel, or corestack_deployments_repository_set for a site). Nothing else is deleted: the environments keep their repository settings.

To repair a connection that needs re-authorising, do not remove it: reconnect it through reconnect_url from corestack_company_deployment_connections_list, which keeps every environment that uses it.

Removing cannot be undone. Ask the person first, then send confirm_connection set to the connection's id.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_company_deployment_connection_delete with connection_id 42. (Remove a deployment connection.) Tell me what it returned.

Inputs

confirm_connectionintegerConfirmation

The same id again, sent only after the person agreed. Without it, or with another id, nothing is removed and the refusal says what to send. At least 1.

connection_idintegerRequired

The connection to remove, from corestack_company_deployment_connections_list. At least 1.

Your assistant fills in a confirmation only after you agree.

Example call

tools/call
{
  "name": "corestack_company_deployment_connection_delete",
  "arguments": {
    "connection_id": 42,
    "confirm_connection": 42
  }
}

If it is refused

ReasonWhat to do
forbiddenYou are not one of the company's owners; ask an owner or Corefinity support.
conflictEnvironments still deploy through the connection; details.environments names them and details.other_environments counts the ones not named to you. Nothing was removed.
confirm_mismatchconfirm_connection is missing or is not the connection's id. Nothing was removed.
tenant_mismatchNo such connection in your company.
pin_refusedA token limited to some sites cannot change company-wide settings.
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.
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