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