CorefinityCorefinityDocs
Open the Control PanelControl Panel
Account security · 2 of 5

corestack_account_sign_in_settings_update

Shorten sign-in limits.

Scope writeNo secrets returned
On this page

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

Prompt
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

session_limitstring

One of 8h, 16h, 1d, 3d, 7d.

8h16h1d3d7d
two_factor_truststring

One of 8h, 16h, 1d, 3d, 7d, never longer than the session limit.

8h16h1d3d7d
  • Give at least one.

Example call

tools/call
{
  "name": "corestack_account_sign_in_settings_update",
  "arguments": {
    "session_limit": "16h"
  }
}

If it is refused

ReasonWhat to do
confirmation_requiredThe 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_argumentsA 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_offSign-in limits are not switched on for the Control Panel yet.
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