Disable 2FA

This function disables the Two-Factor Authentication (2FA) security policy on the server.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
get/twofactorauth_disable_policy
Request samples
whmapi1 --output=jsonpretty \
  twofactorauth_disable_policy
Response samples
application/json
{
  • "metadata": {
    • "command": "twofactorauth_disable_policy",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}