---
title: "Set a new password"
method: POST
path: "/v1/accounts/reset"
tags: ["Accounts"]
---

# Set a new password

`POST /v1/accounts/reset`

## Request

- Base URL: `https://api.cadencercs.com`
- URL: `https://api.cadencercs.com/v1/accounts/reset`
- Auth: none required

Consumes the token and drops every existing session for that account.

## Request body

- object
  - `token` string, required
  - `password` string, required

## Response `200`

Password updated.

- object
  - `ok` boolean, required
  - `message` string

## Other responses

- `400`: Weak password, or an invalid, used or expired token.
- `500`: Unexpected server error. The body is always JSON.

---

[API](https://skmtc.dev/cadencercs/apis/cadence-api.md) · [All operations](https://skmtc.dev/cadencercs/apis/cadence-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cadencercs/apis/cadence-api/revisions/9438443c2081?raw)
