---
title: "Update user logto config"
method: PATCH
path: "/api/users/{userId}/logto-configs"
tags: ["Users"]
---

# Update user logto config

`PATCH /api/users/{userId}/logto-configs`

Update the exposed portion of a user's logto config. Supports updating MFA states (enabled, skipped, skipMfaOnSignIn) and passkey sign-in states (skipped). All fields are optional — only provided fields will be updated.

## Path parameters

- `userId` string, required

## Request body

- object
  - `mfa` object
    - `enabled` boolean — Set whether MFA is enabled for the user.
    - `skipped` boolean — Set whether the user is marked as having skipped MFA binding.
    - `additionalBindingSuggestionSkipped` boolean
    - `skipMfaOnSignIn` boolean — Set whether the user has opted to skip MFA verification on sign-in. This is ignored when the MFA policy is mandatory.
  - `passkeySignIn` object
    - `skipped` boolean — Set whether the user has persistently skipped binding a passkey for sign-in.

## Response `200`

The exposed logto config fields were updated successfully.

- object
  - `mfa` object, required
    - `enabled` boolean
    - `skipped` boolean, required
    - `skipMfaOnSignIn` boolean, required
  - `passkeySignIn` object, required
    - `skipped` boolean, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/logto/apis/logto-api-references.md) · [All operations](https://skmtc.net/logto/apis/logto-api-references/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/logto/logto-api-references/versions/a163dc77d842/schema)
