---
title: "Set a new password from a reset token"
method: POST
path: "/api/auth/reset-password"
tags: ["auth"]
---

# Set a new password from a reset token

`POST /api/auth/reset-password`

## Request

- Base URL: `https://telawiki.com`
- URL: `https://telawiki.com/api/auth/reset-password`
- Auth: none required

Revokes **every** existing session for the account, and does not create a new one — sign in afterwards.

## Request body

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

## Response `200`

Success.

- object
  - `ok` true, required

## Other responses

- `400`: `bad_request` (missing token, short password) or `invalid_token`.
- `500`: `internal` — server error.

---

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