Description

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

Examples 


https://hostname.example.com:2087/cpsess##########/json-api/twofactorauth_disable_policy?api.version=1
https://hostname.example.com:2087/cpsess##########/xml-api/twofactorauth_disable_policy?api.version=1
whmapi1 twofactorauth_disable_policy

{  
   "metadata":{  
      "version":1,
      "reason":"OK",
      "result":"1",
      "command":"twofactorauth_disable_policy"
   }
}
<result>
    <metadata>
        <version>1</version>
        <reason>OK</reason>
        <result>1</result>
        <command>twofactorauth_disable_policy</command>
    </metadata>
</result>

Parameters

This function does not accept parameters.

Returns

This function returns only metadata.