CorefinityCorefinityDocs
Open the Control PanelControl Panel
Secrets · 4 of 4

corestack_admin_login_reset

Reset an admin login.

Scope execCan return a secret
On this page

When to use it

Set a new password for one of the site's administrators (WordPress, Magento 2, Shopware) and show it once. Name the administrator, or leave username out to reset the one the site's current database was given; pass confirm: true. Use it when a one-time login was already shown.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_admin_login_reset with site_id 4211, username admin. (Reset an admin login.) Tell me what it returned.

Inputs

confirmboolean

Defaults to false.

reveal_to_agentboolean

Return the secret to you instead of opening it in the person's browser. Needs exec. Defaults to false.

site_idintegerRequired

At least 1.

usernamestring

The administrator to reset. Leave it out for the site's current administrator. Up to 60 characters.

Example call

tools/call
{
  "name": "corestack_admin_login_reset",
  "arguments": {
    "site_id": 4211,
    "username": "admin",
    "confirm": true
  }
}

If it is refused

ReasonWhat to do
invalid_argumentsconfirm is not true (pass confirm: true once the person has agreed), or no username was given and the site has no recorded administrator (ask the person which one).
not_availableThis site has no CMS administrator to reset (a Laravel or PHP site); stop.
managed_elsewhereAnother control panel manages this site, so use that control panel for it. This is refused before anything else about the site, as in the Control Panel and the API. Nothing was done.
tenant_mismatchThe object does not exist or the token may not see it. Check the id.
scope_requiredThe token lacks a scope this call needs. Open the link in the answer to add it, then call again.
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.
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