Remove 2FA config

This function removes the user from the two-factor authentication userdata file.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/TwoFactorAuth/remove_user_configuration
Request samples
uapi --output=jsonpretty \
  --user=username \
  TwoFactorAuth \
  remove_user_configuration
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "remove_user_configuration",
  • "module": "TwoFactorAuth",
  • "result": {
    • "data": {
      • "tfa_removed": 1
      },
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}