---
title: "Change password"
method: PUT
path: "/auth/password"
tags: ["Authentication"]
---

# Change password

`PUT /auth/password`

Changes user password

## Request body

- ChangePasswordRequest
  - `new_password` string
  - `old_password` string
  - `username` string

## Response `200`

Password changed successfully

## Other responses

- `400` — Failed to parse or request validation failed
- `401` — Unauthorized

## Changes

- **2023-05-04** `53c6f9d2c775` — 3 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the success response with the status `200`
- **2023-05-04** `9e3289441605` — 1 breaking, 2 info
  - removed the success response with the status `200`
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `401`
- **2023-05-02** `758c324b316f` — 3 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the success response with the status `200`
- **2023-04-27** `928024decbd9` — 1 breaking, 2 info
  - removed the success response with the status `200`
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `401`

[Change history](https://skmtc.dev/mysteriumnetwork/apis/tequila-api/changes/auth/password/put.md)

---

[API](https://skmtc.dev/mysteriumnetwork/apis/tequila-api.md) · [All operations](https://skmtc.dev/mysteriumnetwork/apis/tequila-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mysteriumnetwork/tequila-api/revisions/cb1439736b63/schema)
