CorefinityCorefinityDocs
Open the Control PanelControl Panel
Deployments · 65 of 65

corestack_environment_registry_secret_delete

Delete a CoreStack Enterprise registry credential.

Scope writeAsks you to confirmNo secrets returned
On this page

When to use it

Delete one of a CoreStack Enterprise environment's Composer registry credentials: the "Composer registries" card's Delete. Builds that install packages from that registry then fail until another credential is added (saved credentials are used by v2 builds only once Composer registry credentials are switched on for the environment). Read corestack_environment_registry_secret_list first for its id.

Deleting cannot be undone. Ask the person first, then send confirm_delete set to the credential's id, as a string.

The public API's DELETE /api/corestack/environments/{environment}/deploy-secrets/{secret} does the same.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_environment_registry_secret_delete with enterprise_env_id 1530, secret_id 3301. (Delete a CoreStack Enterprise registry credential.) Tell me what it returned.

Inputs

confirm_deletestringConfirmation

The same id again, sent only after the person agreed. Without it, or with another value, nothing is deleted and the refusal says what to send. Up to 20 characters.

enterprise_env_idintegerRequired

A CoreStack Enterprise environment's id; for a CoreStack or CoreCluster site use corestack_deployments_secrets_list by site_id. At least 1.

secret_idintegerRequired

The credential (corestack_environment_registry_secret_list). At least 1.

Your assistant fills in a confirmation only after you agree.

Example call

tools/call
{
  "name": "corestack_environment_registry_secret_delete",
  "arguments": {
    "enterprise_env_id": 1530,
    "secret_id": 3301,
    "confirm_delete": "3301"
  }
}

If it is refused

ReasonWhat to do
confirm_mismatchMissing, or not the credential's id. Nothing was deleted.
forbiddenThe person's role lacks the Edit Environment Deployment Pipeline permission. The message names it and says an owner of the company can grant it in Roles; details.permission is editEnvironmentDeploymentPipeline. Nothing is deleted.
invalid_argumentsA CoreStack or CoreCluster environment; use corestack_deployments_secret_delete by site_id.
tenant_mismatchThe object does not exist or the token may not see it. Check the id.
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.
scope_requiredThe token lacks a scope this call needs. Open the link in the answer to add it, then call again.
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