This function removes the user from the two-factor authentication userdata file.
uapi --output=jsonpretty \ --user=username \ TwoFactorAuth \ remove_user_configuration
{- "apiversion": 3,
- "func": "remove_user_configuration",
- "module": "TwoFactorAuth",
- "result": {- "data": {- "tfa_removed": 1
 },
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
 }
}