---
title: "corestack_account_sign_in_settings_update"
url: https://docs.corefinity.com/mcp/tools/corestack_account_sign_in_settings_update
type: tool
last_updated: 2026-11-13
feature: account-security
related:
  - https://docs.corefinity.com/guides/your-account/password-and-sign-in-methods.md
---
# corestack_account_sign_in_settings_update

**Shorten sign-in limits.** Shorten how long the person stays signed in, or how long a trusted browser may skip the two-factor code. Lengthening either needs the person to confirm in the Control Panel: the answer gives them the link. Scope: write.

- Scope: `write`
- Runs as a task: no

## 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`.

## Inputs

- `session_limit` (string, optional): one of `8h`, `16h`, `1d`, `3d`, `7d`.
- `two_factor_trust` (string, optional): one of `8h`, `16h`, `1d`, `3d`, `7d`, never longer than the session limit.
- Give at least one.

### Input schema

```json
{
  "additionalProperties": false,
  "properties": {
    "session_limit": {
      "description": "Stay signed in for: 8h, 16h, 1d, 3d or 7d.",
      "enum": [
        "8h",
        "16h",
        "1d",
        "3d",
        "7d"
      ],
      "type": "string"
    },
    "two_factor_trust": {
      "description": "Skip the code on a trusted browser for: never longer than session_limit.",
      "enum": [
        "8h",
        "16h",
        "1d",
        "3d",
        "7d"
      ],
      "type": "string"
    }
  },
  "type": "object"
}
```

## Refusals

- `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.
- The refusals every tool can answer: `invalid_arguments`, `tenant_mismatch`, `scope_required`, `pin_refused`, `rate_limited`, `temporarily_unavailable`, `internal_error` (corestack://guides/how-this-server-works).

## Example

```json
{
  "name": "corestack_account_sign_in_settings_update",
  "arguments": {
    "session_limit": "16h"
  }
}
```

## Prompt

```text
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.
```

## The same task elsewhere

- Guide: [Password and sign-ins](https://docs.corefinity.com/guides/your-account/password-and-sign-in-methods.md)
