Verify user password

POST /api/users/{userId}/password/verify

Test if the given password matches the user's password.

Path parameters

  • userId string Required

    The unique identifier of the user.

application/json

Body Required

  • password string Required

    Password to verify.

    Minimum length is 1.

Responses

POST /api/users/{userId}/password/verify
curl \
 --request POST https://[tenant_id].logto.app/api/users/{userId}/password/verify \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"password":"string"}'
Request examples
{
  "password": "string"
}