appwrite/docs/examples/1.5.x/server-dotnet/examples/account/delete-authenticator.md
2024-02-27 21:12:00 +13:00

429 B

using Appwrite; using Appwrite.Enums; using Appwrite.Models; using Appwrite.Services;

Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetSession(""); // The user session to authenticate with

Account account = new Account(client);

await account.DeleteAuthenticator( type: AuthenticatorType.Totp, otp: "" );