This function returns a list of user-controlled accounts and whether the accounts have Two-Factor Authentication (2FA) enabled.
HTTP Request was successful.
object The data that the function returns. | |
object |
whmapi1 --output=jsonpretty \ twofactorauth_get_user_configs
{- "data": {
- "example": {
- "is_enabled": 0,
- "primary_domain": "example.com"
}
}, - "metadata": {
- "command": "twofactorauth_get_user_configs",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}