appwrite/docs/examples/1.3.x/server-dotnet/examples/account/update-prefs.md
2024-11-06 12:07:14 +01:00

411 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);

User result = await account.UpdatePrefs( prefs: [object]);