> For the complete documentation index, see [llms.txt](https://spice.docs.medtroniclabs.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://spice.docs.medtroniclabs.org/engineering/api-documentation/common-services/reset-password.md).

# Reset Password

| **API URL**     | {{url}}/user-service/user/reset-password/{{token}} |
| --------------- | -------------------------------------------------- |
| **Method**      | POST                                               |
| **Description** | Reset password after Forgot password               |

#### **Input** <a href="#resetpassword-v2-input" id="resetpassword-v2-input"></a>

| **Field Name**         | **Type** | **Mandatory** | **Example**                                                                                                                             |
| ---------------------- | -------- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| Authorization (Header) | String   | Yes           | Bearer 1ba363a1edf54402b51f58060aa52b11d30f99a490295adec900fdabf2b472181c0bfb165be18f4f5c430c7218a244bd29b9300d3471acc08197ccfb996118f6 |
| client(Header)         | String   | Yes           | web                                                                                                                                     |
| password               | String   | Yes           | Hashed password                                                                                                                         |

#### **Sample Input:** <a href="#resetpassword-v2-sampleinput" id="resetpassword-v2-sampleinput"></a>

#### { <a href="#resetpassword-v2" id="resetpassword-v2"></a>

&#x20;   "password": "3901e08e724bb73a72137e03e2f03d54d70eaeea39f8a7e0459f15d9e80585ffd2159283b8324d72f7ba8c2aa2f0e82e5c1b685d7ef569e2ebad02d71ba4076e"

}

**Sample Output:**

| **Field Name** | **Type** | **Comments**                                               |
| -------------- | -------- | ---------------------------------------------------------- |
| message        | String   | An email will be sent if the account exists in our system. |
| entity         | Boolean  | Entity                                                     |
| status         | Boolean  | Status of API                                              |
| responseCode   | Int      | Response Code of API                                       |

```
{
    "message": "Password has been set successfully.",
    "entity": true,
    "status": true,
    "entityList": null,
    "responseCode": 200,
    "totalCount": null
}
```
