Get user logto config

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 attribute Show response attribute object
    • mfa object Required
      Hide mfa attribute Show mfa 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
  }
}