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