GET /api/users/{userId}/logto-configs

Retrieve the exposed portion of a user's logto config. This endpoint currently includes only the MFA skip state.

Path parameters

  • userId string Required

    The unique identifier of the user.

Responses

  • 200 application/json

    Returns the exposed user logto config fields. Currently, only the MFA skip state is available.

    Hide response attributes Show response attributes object
    • mfa object Required
      Hide mfa attributes Show mfa attributes object
      • skipped boolean Required
      • skipMfaOnSignIn boolean Required
    • passkeySignIn object Required
      Hide passkeySignIn attribute Show passkeySignIn attribute object
      • skipped boolean Required
  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    Not Found

GET /api/users/{userId}/logto-configs
curl \
 --request GET 'https://[tenant_id].logto.app/api/users/{userId}/logto-configs' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "mfa": {
    "skipped": true,
    "skipMfaOnSignIn": true
  },
  "passkeySignIn": {
    "skipped": true
  }
}