This API allows an authenticated User to update his/her password by providing Base64-encoded parameters of the old and the new password. This returns an empty response with a status code of 200 when successful and returns an error message if unsuccessful.
Update
| API PATH: | api/v2/changePassword |
| METHOD: | PUT |
| PARAMETERS: | old – the new password to authenticate the User before changing the password. Must be Base64-encoded. new – the new password to be set. Must be Base64-encoded. |
| QUERY STRING EXAMPLES: | Update the password from ‘ABC’ to ‘XYZ’ : ?old=QUJD&new=WFla |
| EXAMPLE RESPONSE (failed): |
{
"code": 8000,
"message": "Could not authenticate with old password",
"description": ""
}
|