mirror of
https://github.com/appwrite/appwrite
synced 2026-05-14 20:48:45 +00:00
373 B
373 B
setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
->setProject('5df5acd0d48c2') // Your project ID
->setSession(''); // The user session to authenticate with
$teams = new Teams($client);
$result = $teams->updatePrefs(
teamId: '',
prefs: []
);