CorefinityCorefinityDocs
Open the Control PanelControl Panel
Database · 11 of 12

corestack_external_db_disable

Turn off external database access.

Scope writeAsks you to confirmRuns as a taskNo secrets returnedCoreCluster
On this page

When to use it

Turn off external database access for an environment. Its external users are removed at once, so nobody can sign in from outside from that moment; the monthly charge stops from now; then the public endpoint, the host name's record and the fixed address go. Internal users keep working.

The address cannot be got back: turning access on again later gives a new address under the same host name, and every outside system must then connect to it. Ask the person to type the environment's name, and send it as confirm_environment (as the site shows it, for example Production). Turning it off needs the site's billing rights.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_external_db_disable with site_id 4211. (Turn off external database access.) Tell me what it returned.

Inputs

confirm_environmentstringRequiredConfirmation

The environment's name, typed, e.g. Production. Up to 191 characters.

site_idintegerRequired

At least 1.

Your assistant fills in a confirmation only after you agree.

Example call

tools/call
{
  "name": "corestack_external_db_disable",
  "arguments": {
    "site_id": 4211,
    "confirm_environment": "Production"
  }
}

If it is refused

ReasonWhat to do
confirm_mismatchconfirm_environment is not the environment's name; nothing changed.
billing_forbiddenThe person cannot change this site's billing; the site's owner turns it off.
external_db_already_offExternal access is off already (or turning off).
external_db_failedThe last change to external access failed; Corefinity support retries or releases it.
busyAnother change to this environment is applying.
deletedThe site is deleted (in its grace period).
provisioningThe site is still being created.
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.
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