---
title: "POST /users/me/password"
method: POST
path: "/users/me/password"
tags: ["Users"]
---

# POST /users/me/password

`POST /users/me/password`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/users/me/password`
- Auth: HTTP bearer

## Request body

- ChangePasswordRequest
  - `current_password` string, required
  - `mfa_code` string, nullable: TOTP code (or recovery code). Required iff the user has MFA enabled.
  - `new_password` string, required
  - `revoke_other_sessions` boolean: When true, every session OTHER than the one making this request is revoked. Defaults to false; the UI surfaces this as a checkbox.

## Response `204`

Password updated

## Other responses

- `400`: Validation error (weak password, same as current, MFA missing)
- `401`: Current password incorrect or MFA code invalid
- `403`: Account has no password set (SSO only)
- `429`: Second factor locked after repeated wrong codes
- `500`: Internal server error

## Changes

- **2026-10-19** `4153d360b2ff`: 1 info
  - added the non-success response with the status `429`
- **2026-05-30** `b72341d12f63`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/users/me/password/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)
