corestack_ admin_ login_ reset
Reset an admin login.
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
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
{
"name": "corestack_admin_login_reset",
"arguments": {
"site_id": 4211,
"username": "admin",
"confirm": true
}
}If it is refused
| Reason | What to do |
|---|---|
invalid_arguments | confirm 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_available | This site has no CMS administrator to reset (a Laravel or PHP site); stop. |
managed_elsewhere | Another 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_mismatch | The object does not exist or the token may not see it. Check the id. |
scope_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
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. |
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?