Reset Password
https://core.hisend.hunnovate.com/api/v1/projects/{project_identifier}/auth/reset-password?api_key={api_key}
Reset password of user
Path Parameters
project_identifier string required
The identifier or id of the project, for example project_name or 01jtk9f6xtp5bqycmj8x68040f, you can get it from the projects page on your dashboard
Query Params
api_key string required
The api key from your dashboard
Body Parameters
otp string required
One Time Password sent to user
otp_reference string required
Reference returned from reset password request endpoint
email string required
Email Address of the user
password string required
Password of the user
password_confirmation string required
The password should match with password field
422 Error Response Example
{
"message": "Invalid OTP",
}
Payload Example
{
"otp": 123456,
"otp_reference": "01jtnm3rqxkfkvqne9shzga3nq",
"email": "example@hunnovate.com",
"password": "@f.7esdfg_1G",
"password_confirmation": "@f.7esdfg_1G",
}
200 Success Response Example
{
"data": {
},
"message": "Password reset successful",
}