set_2fa
Enable two-factor authentication by verifying a TOTP code against a generated secret to secure your cPanel account.
Instructions
Enable two-factor authentication with a secret and verification code
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Current TOTP code from authenticator app to verify setup | |
| secret | Yes | The TOTP secret from generate_2fa_config |