---
title: "Change Password"
method: POST
path: "/{item_id}/change-password"
tags: ["Accounts managing"]
---

# Change Password

`POST /{item_id}/change-password`

## Request

- Base URL: `https://api.lzt.market`
- URL: `https://api.lzt.market/{item_id}/change-password`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/lzt/apis/lolzteam-public-api-market/docs/:item_id/change-password/post.ts> (a function with typed inputs; its response is checked against the schema)

Changes password of account.

## Path parameters

- `item_id` integer, required: Item id.

## Request body

- object
  - `_cancel` 1: Cancel change password recommendation. It will be helpful, if you don't want to change password and get login data.

## Response `200`

Successful Response.

- object
  - `status` string
  - `message` string
  - `new_password` string, required

## Other responses

- `401`: Unauthorized
- `403`: Error Response.
- `404`: Error Response.

---

[API](https://skmtc.dev/lzt/apis/lolzteam-public-api-market.md) - [All operations](https://skmtc.dev/lzt/apis/lolzteam-public-api-market/llms.txt) - [OpenAPI document](https://skmtc.dev/lzt/apis/lolzteam-public-api-market/revisions/0ff169799e9a?raw)
