api/change_password
Change the password of the authenticated account.
URL:
Authorization:
- Basic Authorization Header must be defined.
Formats:
- json
HTTP Method:
- POST
Parameters:
- current_password - the account’s existing password.
- new_password - the replacement password.
- confirm_password - must be identical to new_password.
Response:
{"result":"Password changed.","type":"notice"}
- or:
{"result":"Current password invalid","type":"error"}
{"result":"Invalid confirmation password","type":"error"}