corestack_ account_ sign_ in_ settings_ update
Shorten sign-in limits.
When to use it
Shorten how long the person stays signed in (session_limit), or how long a browser they trust may skip the two-factor
code (two_factor_trust). A shorter limit applies at once to every browser they are signed in on. Lengthening either one
cannot be done here: it is refused confirmation_required with confirm_url, a link to the Profile page with the values
chosen, where the person confirms it is them. Nothing is saved until they do, so pass the link on to them. When the
session limit comes down below the trust, the trust comes down with it and the answer says trust_lowered: true. Needs
the write scope. The same as PATCH /api/user/sign-in-settings.
Ask for it
Using the Corefinity MCP server, call corestack_account_sign_in_settings_update with session_limit 16h. (Shorten sign-in limits.) Tell me what it returned.Inputs
One of 8h, 16h, 1d, 3d, 7d.
8h16h1d3d7dOne of 8h, 16h, 1d, 3d, 7d, never longer than the session limit.
8h16h1d3d7d- Give at least one.
Example call
{
"name": "corestack_account_sign_in_settings_update",
"arguments": {
"session_limit": "16h"
}
}If it is refused
| Reason | What to do |
|---|---|
confirmation_required | The change lengthens one of the limits ("Confirm it's you in the Control Panel to stay signed in longer."). Nothing is saved; confirm_url is the link for the person. |
trust_above_session_limit | "A trusted browser can't skip the code for longer than you stay signed in." |
invalid_arguments | A value that is not one of the choices, or neither setting given ("Choose 8 hours, 16 hours, 1 day, 3 days or 7 days."). |
feature_off | Sign-in limits are not switched on for the Control Panel yet. |
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. |