This function enables the Two-Factor Authentication (2FA) security policy on the server.
HTTP Request was successful.
object |
whmapi1 --output=jsonpretty \ twofactorauth_enable_policy
{- "metadata": {
- "command": "twofactorauth_enable_policy",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}