MobileApp
Reset Password
Function: reset_password Type: API Endpoint (POST)
Purpose:
Resets the password of a user.
URL:
POST http://<baseURL>/api/MobileApp/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/MobileApp/reset_password
Request
- Base URLhttps://api.leapsurgebi.com (the document declares no server; this is the origin it was published from)
- AuthOAuth 2PasswordToken URL/auth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Emailstring required
new-passwordstring required
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 3 revisions of this API.