Check if user has password
GET
/api/users/{userId}/has-password
Check if the user with the given ID has a password set.
Path parameters
-
userId string Required
The unique identifier of the user.
GET /api/users/{userId}/has-password
curl \
-X GET https://[tenant_id].logto.app/api/users/{userId}/has-password
Response examples (200)
{
"hasPassword": true
}