corestack_ enterprise_ variable_ delete
Delete a CoreStack Enterprise build variable.
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_ by site_id instead.
The public API's DELETE / does the same.
Ask for it
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
A CoreStack Enterprise environment's id; for CoreStack or CoreCluster use the corestack_deployment_* tools. At least 1.
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
{
"name": "corestack_enterprise_variable_delete",
"arguments": {
"enterprise_env_id": 1530,
"name": "API_URL"
}
}If it is refused
| Reason | What to do |
|---|---|
invalid_arguments | A CoreStack or CoreCluster environment; use the corestack_deployments_* tools by site_id. |
tenant_mismatch | The 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_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. |