The /account/changepassword API call is used by a player to change their Planets.nu account's e-password.
Data | Description |
---|---|
username | Player's username |
oldpassword | Player's existing password |
password | Player's new password |
apikey | Player's existing API key |
If the process is successful, the following response is generated.
Data | Description |
---|---|
success | True |
{"success":false,"error":"Missing required parameter - username"}
{"success":false,"error":"Missing required parameter - apikey"}
{"success":false,"error":"Missing required parameter - oldpassword"}
{"success":false,"error":"Missing required parameter - password"}
{"success":false,"error":"Incorrect old password."}