---
title: "Reset password"
method: POST
path: "/api/auth/reset-password"
tags: ["Auth"]
---

# Reset password

`POST /api/auth/reset-password`

# Errors
Returns an error if token is invalid, password validation fails, or database operations fail.

## Request body

- ResetPasswordRequest — Request body for password reset confirmation
  - `newPassword` string, required — New password (minimum 8 characters)
  - `token` string, required — Password reset token
  - `userId` string, uuid, required — User ID associated with the reset token

## Response `200`

Password reset successful

- ResetPasswordResponse — Response for successful password reset
  - `message` string, required — Password reset confirmation message

## Other responses

- `400` — Invalid token or password
- `500` — Password update service error or database connection failed

---

[API](https://skmtc.net/patroninc/apis/patron-api.md) · [All operations](https://skmtc.net/patroninc/apis/patron-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/patroninc/patron-api/versions/1583b1f4c97d/schema)
