Account
Update email
Updates the email address of the account
PUT
/api/client/account/emailAuthorization
ClientToken AuthorizationBearer <token>
Client API key (generated at /account/api)
In: header
Request Body
application/json
email*string
New email
password*string
Existing password
Response Body
curl -X PUT "https://pterodactyl.file.properties/api/client/account/email" \ -H "Authorization: Bearer ptlc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -d '{ "email": "[email protected]", "password": "Password"}'Empty
Empty