RemoveTfaAsync

Removes two-factor authentication from the current user. Returns (Task)

Dissable Two factor authentification.

Name Description
currentPassword The current password for authentication

Remove Tfa Async

Example in C#

// Returns: nothing
await client.RemoveTfaAsync(String currentPassword);

Example in CURL



           curl -X POST \
               https://api.us.acresecurity.cloud/api/currentuser/tfa \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.TfaRequest, Feenics.Keep.WebApi.Model",
                       "CurrentPassword":"CURRENT_PASSWORD_HERE",
                       "OneTimePassword":null,
                       "Action":1
                   }'