mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
418 B
418 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 ;
Teams teams = new Teams(client);
HttpResponseMessage result = await teams.UpdateMembershipStatus("[TEAM_ID]", "[MEMBERSHIP_ID]", "[USER_ID]", "[SECRET]");