# Check if user has password **GET /api/users/{userId}/has-password** Check if the user with the given ID has a password set. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters ### Path parameters - **userId** (string) The unique identifier of the user. ## Responses ### 200 The result of the check. #### Body: application/json (object) - **hasPassword** (boolean) ### 400 Bad Request ### 401 Unauthorized ### 403 Forbidden ### 404 Not Found [Powered by Bump.sh](https://bump.sh)