---
title: "Reset Password"
method: POST
path: "/api/BestBi/reset_password"
tags: ["BestBi"]
---

# Reset Password

`POST /api/BestBi/reset_password`

**Function**: `reset_password`
**Type**: API Endpoint (POST)

**Purpose**:  
Resets the password of a user.

**URL**:  
`POST http://<baseURL>/api/BestBI/reset_password`

**Request Headers**:
- **Email** (Header, required):  
  The email address of the user to reset the password for.
- **new_password** (Header, required):  
  The new password to set for the user.

**Response**:  
A JSON response containing a message indicating that the password has been reset successfully.

**Error Handling**:
- Raises HTTP 404 if the user is not found.
- Raises HTTP 500 for any other exceptions encountered during execution.

## Headers

- `Email` string, required
- `new-password` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi.md) · [All operations](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/leapsurgebi/leapsurgeapi/revisions/5a6b1464bfeb/schema)
