mirror of
https://github.com/appwrite/appwrite
synced 2026-05-20 15:38:21 +00:00
377 B
377 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: []
);