---
title: "Changes a user's password"
method: POST
path: "/api/my-account/change-password"
tags: ["My-Account"]
---

# Changes a user's password

`POST /api/my-account/change-password`

Allows an authenticated user to change their password.

## Request body

- ChangePasswordRequest — Request model for changing a password
  - `currentPassword` string, required — The user's current password
  - `newPassword` string, required — The new password to set
  - `confirmPassword` string, required — The new password to set

## Response `200`

Password changed successfully.

- ChangePasswordResponse — Response model for the password change operation
  - `message` string — Gets the message included in the change password response

## Other responses

- `400` — Invalid request or current password.
- `401` — Unauthorized

## Changes

- **2025-11-21** `50eff5014b78` — 1 info
  - removed the non-success response with the status `403`
- **2025-03-24** `fbc3fe6ecbf1` — 1 info
  - added the non-success response with the status `403`

[Change history](https://skmtc.dev/endatix/apis/endatix-platform-rest-api/changes/api/my-account/change-password/post.md)

---

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