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 \
 -X POST https://[tenant_id].logto.app/api/users/{userId}/password/verify \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"password":"string"}'
Request examples
{
  "password": "string"
}