Update password
POST/api/user/updatePassword
API used to update password
Request
Responses
- 200
- 403
- 412
- 500
Returns a Success code if the operation was successful
Returns a HttpStatus.FORBIDDEN if the token is invalid
Returns a HttpStatus.PRECONDITION_FAILED if the new password is same as current password
Returns a HttpStatus.INTERNAL_SERVER_ERROR if there was some other error that did not allow the operation to complete