---
title: "Check if password matches the password policy rules"
method: POST
path: "/v1.0/users/validate-password"
tags: ["Validate Password"]
---

# Check if password matches the password policy rules

`POST /v1.0/users/validate-password`

## Request body

- PasswordValidationRequestDTO — The password validation request
  - `password` string, required

## Response `200`

OK

- PasswordValidationResponseDTO
  - `valid` boolean
  - `errors` PasswordValidationErrorDTO[]
    - `code` 'INVALID_MIN_LENGTH' | 'INVALID_MAX_LENGTH' | 'BLACKLISTED_PATTERN' | 'PWNED' | 'PWNED_SERVICE_UNAVAILABLE' | 'OTHER'
    - `message` string

## Other responses

- `400` — Bad Request Error Code | Description FORM1001 | Form validation failed
- `500` — Internal Server Error

---

[API](https://skmtc.net/beis/apis/mets-api-documentation.md) · [All operations](https://skmtc.net/beis/apis/mets-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/beis/mets-api-documentation/revisions/c3a5c6052f25/schema)
