Users

Check if user has password

Check if the user with the given ID has a password set.

get/api/users/{userId}/has-password

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/users/{userId}/has-password
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Path parameters

userIdstring required

The unique identifier of the user.

Response

The result of the check.

hasPasswordboolean required

Changes

No recorded changes to this operation across all 8 revisions of this API.