VGA Planets

Introduction

How The Website Works

Races

Dashboard

Starmap

Planets

Starships

General Information

Guides

Contributions

Searchable Documentation

API account changeemail


Introduction —> How The Website Works —> API —> API account changeemail

Overview of /account/changeemail API call

The /account/changeemail API call is used by a player to change their Planets.nu account's e-mail address.

Data Sent

Data Description
username Player's username
password Player's existing password
apikey Player's existing API key
email The new e-mail address

Data Returned

If the process is successful, the following response is generated.

Data Description
success True

Failures

{"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."}

Back