---
title: "Update password"
method: PATCH
path: "/customers/passwords"
---

# Update password

`PATCH /customers/passwords`

Use /customers/passwords endpoint to save a new customer password, in case you defined a custom reset password page.

## Request body

- object
  - `publisherId` string, required — ID of publisher, e.g. 332347686
  - `customerId` integer, required — Customer identifier at Cleeng. Either `customerId` **(recommended)** or `customerEmail` must be provided in this endpoint.
  - `resetPasswordToken` string, required — After user receives reset password email with link (Reset password endpoint), resetPasswordToken parameter attached to this url have to be used here.
  - `newPassword` string, required — New customer password. String containing at least one letter and one digit or special character (!@#$%^&), length - 8-80 characters
  - `customerEmail` string — The email address of the customer. **Required conditionally** if `customerId` is not provided.

## Response `200`

200

- object
  - `responseData` object
  - `errors` unknown[]
    - unknown

## Other responses

- `422` — 422

---

[API](https://skmtc.net/cleeng/apis/mediastore-api.md) · [All operations](https://skmtc.net/cleeng/apis/mediastore-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cleeng/mediastore-api/versions/00cbfe7998a4/schema)
