Files
appwrite/docs/examples/1.4.x/server-dotnet/examples/users/delete-session.md
T
2023-08-30 11:20:26 +02:00

402 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 .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key

var users = new Users(client);

await users.DeleteSession( userId: "[USER_ID]", sessionId: "[SESSION_ID]");