---
title: "Set or change the account password."
method: POST
path: "/v1/auth/password"
---

# Set or change the account password.

`POST /v1/auth/password`

## Request

- Base URL: `https://api.cortexplus.io`
- URL: `https://api.cortexplus.io/v1/auth/password`
- Auth: HTTP bearer

Set a password on a passwordless account, or change it when currentPassword is provided. Other device tokens are revoked.

## Request body

- object
  - `newPassword` string, required
  - `currentPassword` string: Required when the account already has a password.

## Response `204`

Password updated.

## Other responses

- `default`: Request failed.

---

[API](https://skmtc.dev/cortexplus/apis/cortexplus-rest-api.md) · [All operations](https://skmtc.dev/cortexplus/apis/cortexplus-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cortexplus/apis/cortexplus-rest-api/revisions/2d04f1593663?raw)
