---
title: "Change account password (requires current password)"
method: POST
path: "/v1/auth/set-password"
tags: ["Auth"]
---

# Change account password (requires current password)

`POST /v1/auth/set-password`

## Request

- Base URL: `https://api.honkio.ca`
- URL: `https://api.honkio.ca/v1/auth/set-password`
- Auth: none required

Also signs out every dashboard session and disconnects every app connected through OAuth: each connection's API key and tokens are revoked.

## Request body

- object
  - `email` string, email, required
  - `new_password` string, required
  - `current_password` string, required

## Response `200`

Password changed. Every dashboard session is signed out.

- object: Password changed. Every dashboard session is signed out.
  - `status` 'password_set', required

## Other responses

- `401`: UNAUTHORIZED or INVALID_CREDENTIALS: unknown account or wrong current password.
- `422`: VALIDATION_ERROR: the request failed validation; details names the fields.
- `429`: RATE_LIMITED: 10 attempts per hour from one address.

---

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