appwrite/docs/examples/1.4.x/server-dotnet/examples/account/create-recovery.md
2023-08-30 11:20:26 +02:00

449 B

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

var client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token

var account = new Account(client);

Token result = await account.CreateRecovery( email: "email@example.com", url: "https://example.com");