Authentication
Two-Factor Authentication

Return 2FA policy status

This function displays the Two-Factor Authentication (2FA) policy status on the server.

get/twofactorauth_policy_status

Request

  • Base URL
    https://whm-server.tld:2087/json-api
  • Auth
    HTTP basic

Response

HTTP Request was successful.

Example response

{
  "data": {
    "is_enabled": 1
  },
  "metadata": {
    "command": "twofactorauth_policy_status",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.