---
title: "Reset forgotten password"
method: POST
path: "/users/reset-password/{resetToken}"
tags: ["🔐 Authentication"]
---

# Reset forgotten password

`POST /users/reset-password/{resetToken}`

The API endpoint enables users to reset their password through the password reset email.

By providing the new password and the password reset token obtained from the URL, users can securely reset their password and regain access to their account.

This functionality ensures a secure and streamlined password reset process, allowing users to update their password conveniently and protect their account from unauthorized access.

## Request body

- object
  - `newPassword` string

## Response `200`

Reset forgotten password

- object
  - `data` object
  - `message` string
  - `statusCode` number
  - `success` boolean

---

[API](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi.md) · [All operations](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hiteshchoudhary-ssesph/freeapi/versions/a9f3a290e4dc/schema)
