---
title: "Change current password"
method: POST
path: "/users/change-password"
tags: ["🔐 Authentication"]
---

# Change current password

`POST /users/change-password`

The Change Password API allows logged-in users to update their current password by providing the old password as a verification step.

This API provides a secure mechanism for users to change their passwords within the application.

By accessing this endpoint and providing the old password, users can initiate the password change process and set a new password of their choice.

## Request body

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

## Response `200`

Change current password

- object
  - `data` object
  - `message` string
  - `statusCode` number
  - `success` boolean

---

[API](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi.md) · [All operations](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hiteshchoudhary-ssesph/freeapi/revisions/a9f3a290e4dc/schema)
