set_2fa
Enable two-factor authentication by providing a TOTP secret and verification code to secure cPanel account access.
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 |