Reset password
fire_email is optional. In a case where it is used, it must be true or false. When it is true, a token is sent to the email address provided and when false, a token is returned in the response.
GET
https://example.com/wp-json/rimplenet/v1 /reset-password
Request Body
Name
Type
Description
email_address *
String
Email address to receive mail
fire_address
Bool
Should be either TRUE or FALSE
{
"status_code": 200,
"status": true,
"message": "Token Generated",
"data": {
"token_to_reset_password": "dd6c96",
"mail": false
}
}
Sample response
{
"status_code": 200,
"status": true,
"message": "Token Generated",
"data": {
"token_to_reset_password": "dd6c96",
"mail": false
}
}
POST
https://example.com/wp-json/rimplenet/v1 /reset-password
Request Body
Name
Type
Description
email_address*
String
Email address (Required)
new_password*
String/int
New intended password
confirm_new_password*
String/int
token_to_reset_password *
String/int
Provide token sent to mail or token contained in the GET response from above
{
"status_code": 200,
"status": true,
"message": "Password Changed Successfully",
"data": null
}
Sample response
{
"status_code": 200,
"status": true,
"message": "Password Changed Successfully",
"data": null
}
Last updated