CorefinityCorefinityDocs
Open the Control PanelControl Panel
Deployments · 49 of 65

corestack_enterprise_repository_remove

Remove a CoreStack Enterprise repository.

Scope writeNo secrets returned
On this page

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_enterprise_repositories_list first for its id.

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

Ask for it

Prompt
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

tools/call
{
  "name": "corestack_enterprise_repository_remove",
  "arguments": {
    "enterprise_env_id": 1530,
    "repository_id": 3301
  }
}

If it is refused

ReasonWhat to do
forbiddenThe 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_argumentsA CoreStack or CoreCluster environment; use the corestack_deployments_* tools 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.
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