appwrite/docs/examples/1.5.x/server-dotnet/examples/account/delete-authenticator.md
2024-11-06 12:07:14 +01:00

438 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: "" );