appwrite/docs/examples/1.8.x/server-php/examples/teams/update-prefs.md

386 B

setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setSession(''); // The user session to authenticate with $teams = new Teams($client); $result = $teams->updatePrefs( teamId: '', prefs: [] );