Change password
GET
https://example.com/wp-json/rimplenet/v1 /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.
Request Body
Name
Type
Description
email_address*
String
Email address to receive mail
fire_email
Bool
Should be either True or False
{
"status_code": 200,
"status": true,
"message": "Token Generated",
"data": {
"token_to_change_password": "fd398a",
"mail": false
}
}
Sample response
{
"status_code": 200,
"status": true,
"message": "Token Generated",
"data": {
"token_to_change_password": "fd398a",
"mail": false
}
}
POST
https://example.com/wp-json/rimplenet/v1 /reset-password
Request Body
Name
Type
Description
email_address*
String
Email address
current_password *
String/int
Current password
new_password*
String/int
New intended password
confirm_password *
String/int
Confirm new password
token_to_change_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