corestack_ enterprise_ repository_ remove
Remove a CoreStack Enterprise repository.
When to use it
Remove one of a CoreStack Enterprise environment's git repositories: the Repositories field's Remove. Pushes to it stop
deploying. Read corestack_ first for its id.
The public API's DELETE / does the same.
Ask for it
Using the Corefinity MCP server, call corestack_enterprise_repository_remove with enterprise_env_id 1530, repository_id 3301. (Remove a CoreStack Enterprise repository.) 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.
repository_idintegerRequired
At least 1.
Example call
{
"name": "corestack_enterprise_repository_remove",
"arguments": {
"enterprise_env_id": 1530,
"repository_id": 3301
}
}If it is refused
| Reason | What to do |
|---|---|
forbidden | The person's role lacks the Manage Deployment Repositories permission. The message names it and says an owner of the company can grant it in Roles; details.permission is manageDeploymentRepositories. Nothing is changed. Also forbidden: the repository was set up with a git account the person cannot use. |
invalid_arguments | A CoreStack or CoreCluster environment; use the corestack_deployments_* tools 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. |
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. |
The same task elsewhere
Was this helpful?