Client account
2FA details
Generates a TOTP QR code image to allow the setup of 2FA
GET
/api/client/account/two-factorAuthorization
ClientToken AuthorizationBearer <token>
Client API key (generated at /account/api)
In: header
Response Body
application/json
curl -X GET "https://example.com/api/client/account/two-factor"{ "data": { "image_url_data": "otpauth://totp/Pterodactyl:example%40example.com?secret=LGYOWJEGVRPPGPWATP5ZHOYC7DHAYQ6S&issuer=Pterodactyl" }}