Get 2FA setup
account_2fa_getFetches the TOTP secret and QR code URL required to enable two-factor authentication on a Pterodactyl panel account, using a saved or inline panel configuration.
Instructions
Get the TOTP secret / QR image URL to enable two-factor authentication.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| panel | No | Name of a saved panel. Omit to use the active or default panel. | |
| baseUrl | No | Inline panel URL override, e.g. https://panel.example.com. Not persisted. | |
| clientKey | No | Inline client API key (ptlc_…) override. Not persisted. | |
| applicationKey | No | Inline application API key (ptla_…) override. Not persisted. |