CorefinityCorefinityDocs
Open the Control PanelControl Panel
Deployments · 58 of 65

corestack_enterprise_variable_delete

Delete a CoreStack Enterprise build variable.

Scope writeNo secrets returned
On this page

When to use it

Delete one of a CoreStack Enterprise environment's build variables: the Environment Variables editor's Delete. Its deployments then receive no CF_<name>: read corestack_enterprise_variables_list first, whose used_in says which stages read it, and ask the person. The answer is {deleted: true}. For a CoreStack or CoreCluster site, use corestack_deployments_variable_delete by site_id instead.

The public API's DELETE /api/environments/{environment}/variables/{name} does the same.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_enterprise_variable_delete with enterprise_env_id 1530, name API_URL. (Delete a CoreStack Enterprise build variable.) Tell me what it returned.

Inputs

enterprise_env_idintegerRequired

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

namestringRequired

The variable's name from corestack_enterprise_variables_list, as it was saved. A variable saved before today's name rules (with a hyphen, say) can still be deleted by that name.

Example call

tools/call
{
  "name": "corestack_enterprise_variable_delete",
  "arguments": {
    "enterprise_env_id": 1530,
    "name": "API_URL"
  }
}

If it is refused

ReasonWhat to do
invalid_argumentsA CoreStack or CoreCluster environment; use the corestack_deployments_* tools by site_id.
tenant_mismatchThe environment does not exist, is not the person's, or is hidden from them; and a name the environment has no variable of. Both answers are the same, so read corestack_enterprise_variables_list to tell them apart.
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