capabilities.work

Set a 2FA secret and code for root or reseller

One step with cPanel. We can help you get access.

Get something done

Set a 2FA secret and code for root or reseller

with cPanel

Use cPanel: its WHM Authentication API lets you set a 2FA secret and code for root or reseller in a single step (GET /twofactorauth_set_tfa_config). capabilities.work can help you get signed up and connected.

  • How do I set the 2FA secret and time-based code for the root or reseller account?
  • Can I assign a generated 2FA secret and TOTP to an account?
Say it to your AI assistant
  • Set the 2FA secret to {secret} and TOTP {tfa_token} for the root or reseller account.
  • Assign the generated 2FA secret {secret} and code {tfa_token} to the root or reseller account.
For your developer

GET /twofactorauth_set_tfa_config in WHM Authentication API. Full spec on APIs.io.