using Appwrite; using Appwrite.Models; using Appwrite.Services; Client client = new Client() .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetSession(""); // The user session to authenticate with Databases databases = new Databases(client); await databases.DeleteDocument( databaseId: "", collectionId: "", documentId: "", transactionId: "" // optional );