---
title: "Reset password"
method: POST
path: "/reset/{token}"
---

# Reset password

`POST /reset/{token}`

## Request body

- ResetPassword
  - `password` string, required — Password
  - `password_confirm` string, required — Password - again

## Response `200`

Reset response

- BaseJsonResponse
  - `meta` object, required
    - `code` integer, required — Http status code

## Other responses

- `302` — Password has been reset or validation error (non-json)
- `400` — Errors while validating form

## Changes

- **2023-10-22** `b647a0e917e6` — 1 breaking, 3 info
  - the response's body type/format changed from ``/`` to `object`/`` for status `400`
  - removed `#/components/schemas/BaseJsonResponse, subschema #2` from the response body `allOf` list for the response status `400`
  - added the required property `meta` to the response with the `400` status
  - added the required property `response` to the response with the `400` status
- **2023-07-19** `5177e633715c` — 1 breaking, 1 warning, 2 info
  - the response's body type/format changed from ``/`` to `object`/`` for status `200`
  - deleted the `query` request parameter `include_auth_token`
  - removed `#/components/schemas/BaseJsonResponse, subschema #2` from the response body `allOf` list for the response status `200`
  - added the required property `meta` to the response with the `200` status
- **2022-07-22** `4b3ea48a957a` — 1 breaking, 2 warning, 2 info
  - the `allOf[subschema #2]/response/errors` response's property type/format changed from `object`/`` to `array`/`` for status `400`
  - removed the optional property `allOf[subschema #2]/response/error` from the response with the `400` status
  - removed the optional property `allOf[subschema #2]/response/errors/field-name` from the response with the `400` status
  - added the optional property `allOf[subschema #2]/response/field_errors` to the response with the `400` status
  - …1 more
- …earlier changes not shown

[Full history](https://skmtc.dev/pallets-eco/apis/flask-security-external-api/changes/reset/:token/post.md)

---

[API](https://skmtc.dev/pallets-eco/apis/flask-security-external-api.md) · [All operations](https://skmtc.dev/pallets-eco/apis/flask-security-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pallets-eco/flask-security-external-api/revisions/ee92f388dafa/schema)
