---
title: "POST /auth/password-change-required"
method: POST
path: "/auth/password-change-required"
tags: ["Authentication"]
---

# POST /auth/password-change-required

`POST /auth/password-change-required`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/auth/password-change-required`
- Auth: none declared

## Request body

- RequiredPasswordChangeRequest
  - `new_password` string, required

## Response `200`

Required password change completed

- RequiredPasswordChangeResponse
  - `message` string, required
  - `mfa_enrollment_required` boolean, required
  - `mfa_setup` MfaSetupResponse, nullable
    - `qr_code` string, required
    - `recovery_codes` string[], required
    - `secret_key` string, required
  - `success` boolean, required
  - `user_id` integer, required

## Other responses

- `400`: Password does not meet requirements
- `401`: Password-change session is missing or expired
- `500`: Internal server error

## Changes

- **2026-09-07** `5ab851bb63bf`: 1 info
  - endpoint added
- **2026-09-07** `22543057a288`: 1 breaking
  - api path removed without deprecation
- **2026-09-07** `8be6c67df066`: 1 info
  - endpoint added
- **2026-09-07** `f7404eb7ac98`: 1 breaking
  - api path removed without deprecation
- **2026-08-07** `7ba71dfa092e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/auth/password-change-required/post.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
