latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Authentication
Two-Factor Authentication

Disable 2FA

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

get/twofactorauth_disable_policy

Response

HTTP Request was successful.

Example response

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