---
title: "Change Password"
method: POST
path: "/auth/v1/web/password/change"
---

# Change Password

`POST /auth/v1/web/password/change`

Lets you modify the current password of a customer. This is applicable only for brands for which password is enabled.

## Request body

- object
  - `identifierType` string, required — Identifier used for token generation. Values: MOBILE, EMAIL, USERNAME.
  - `identifierValue` string, required — Value of the specified identifierType.
  - `brand` string, required — Name of the brand/org for which authentication needs to be verified.
  - `deviceId` string, required — Unique ID of the device used for changing password. Applicable only for mobile app.
  - `password` string, required — Current password of the account.
  - `newPassword` string, required — New password of the account.
  - `confirmPassword` string, required — Reenter the new password.
  - `token` string, required — Unique token generated for the identifierType, identifierValue and for web application, and including deviceId for the mobile application.

## Response `200`

200

- object
  - `status` object
    - `success` boolean
    - `code` integer
    - `message` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/revisions/de241f2ed9b3/schema)
