---
title: "Verify user password"
method: POST
path: "/api/users/{userId}/password/verify"
tags: ["Users"]
---

# Verify user password

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

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

## Path parameters

- `userId` string, required

## Request body

- object
  - `password` string, required — Password to verify.

## Response `204`

User password matches.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — User password does not match.

---

[API](https://skmtc.net/logto/apis/logto-api-references.md) · [All operations](https://skmtc.net/logto/apis/logto-api-references/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/logto/logto-api-references/versions/a163dc77d842/schema)
