Check if user has password
Check if the user with the given ID has a password set.
Path parameters
-
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 \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"hasPassword": true
}