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

# Set a new password from a reset token

`POST /api/auth/reset`

## Request

- Base URL: `https://cliponit.app`
- URL: `https://cliponit.app/api/auth/reset`
- Auth: none required

Invalidates all sessions of the user.

## Request body

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

## Response `200`

Done

- object
  - `ok` true

## Other responses

- `400`: Validation error — the message names the field, e.g. `champ subtitles.size invalide : attendu 1..3`

---

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