This v2 API  will be deprecated from 15th March 2020

Description:

If you need help resetting your password, we can help by sending you a link to reset it.

URL : api/v2/helpdesk/user/change/password

         (Replace this URL with you helpdesk URL)

Parameters:

Name Data Type Required / Optional Description
api_key String Optional An alphanumeric code that can be used to authenticate your API calls
token String Required Token generated for a user
old_password String Required Old password of the customer
new_password String Required New password of the customer
confirm_password array Optional Confirm password

 

HTTP Method : GET        

  •   URL Request Example:

https://www.stablehelpdesk.faveodemo.com/api/v2/helpdesk/user/change/password?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL2phbWJvcmVlYmxpc3MuY29tXC9zYXlhcm5ld1wvcHVibGljXC9hcGlcL3YxXC9hdXRoZW50aWNhdGUiLCJpYXQiOjE0OTgxMTYxMjIsImV4cCI6MTQ5ODExNjM2MiwibmJmIjoxNDk4MTE2MTIyLCJqdGkiOiIwOWYwNmQ4OGZiMzkyYmYyOTdjYzY2OTkzODc3MmU1MiJ9.qbqkJil6KMi8ojVlHN7c_HjPXjOcYBcKXcwCGf2MmaU&old_password=james123&new_password=james111&confirm_password=james111

Response

  •   Response Format : JSON
  •  Sample JSON Success Response:
       {

               "success": true,

              "message": "Password updated successfully"

        }

Response Description:

Name Description
success It returns true for success and else returns fails for failure
message It contains a message that password updated successfully

Possible Errors/Failures:

   *Please check the responses for some common errors

 

Leave a Reply

Your email address will not be published. Required fields are marked *