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