mirror of
https://github.com/appwrite/appwrite
synced 2026-05-19 06:58:21 +00:00
419 B
419 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->updateMembership(
teamId: '',
membershipId: '',
roles: []
);