Account
Disable 2FA
Disables two-factor authentication on the account
POST
/api/client/account/two-factor/disableAuthorization
ClientToken AuthorizationBearer <token>
Client API key (generated at /account/api)
In: header
Request Body
application/json
password*string
Account password
Response Body
curl -X POST "https://pterodactyl.file.properties/api/client/account/two-factor/disable" \ -H "Authorization: Bearer ptlc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -d '{ "password": "yourpassword"}'Empty