1
0
Fork 0
mirror of synced 2024-09-17 10:00:07 +12:00
appwrite/docs/examples/0.10.x/server-dotnet/examples/account/delete-session.md
2021-09-02 10:04:48 +03:00

376 B

using Appwrite;

Client client = new Client();

client .SetEndPoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token ;

Account account = new Account(client);

HttpResponseMessage result = await account.DeleteSession("[SESSION_ID]");