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.
post/api/BestBi/reset_password
Headers
Emailstring required
new-passwordstring required
Response
Successful Response
{"stackTrail":"paths:/api/BestBi/reset_password:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
No recorded changes to this endpoint across all 1 revision of this API.