---
title: "Change user password"
method: POST
path: "/users/change-password"
tags: ["Users"]
---

# Change user password

`POST /users/change-password`

Changes the authenticated user's password.

## Request body

- object
  - `oldPassword` string
  - `newPassword` string

## Response `200`

Password changed successfully.

## Other responses

- `400` — Old and new passwords are required.
- `401` — Incorrect current password.
- `500` — Failed to update password and re-encrypt data.

---

[API](https://skmtc.dev/termix/apis/termix-api.md) · [All operations](https://skmtc.dev/termix/apis/termix-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/termix/termix-api/revisions/f4ef343eff1b/schema)
