corestack_ environment_ registry_ secret_ delete
Delete a CoreStack Enterprise registry credential.
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_ 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 / does the same.
Ask for it
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
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.
A CoreStack Enterprise environment's id; for a CoreStack or CoreCluster site use corestack_deployments_secrets_list by site_id. At least 1.
The credential (corestack_). At least 1.
Your assistant fills in a confirmation only after you agree.
Example call
{
"name": "corestack_environment_registry_secret_delete",
"arguments": {
"enterprise_env_id": 1530,
"secret_id": 3301,
"confirm_delete": "3301"
}
}If it is refused
| Reason | What to do |
|---|---|
confirm_mismatch | Missing, or not the credential's id. Nothing was deleted. |
forbidden | The 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_arguments | A CoreStack or CoreCluster environment; use corestack_deployments_secret_delete by site_id. |
tenant_mismatch | The object does not exist or the token may not see it. Check the id. |
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. |
rate_limited | Too many calls. Wait for the number of seconds the answer names. |
scope_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
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. |