264 B
264 B
from appwrite.client import Client from appwrite.services.teams import Teams
client = Client()
(client .set_project('') .set_key('') )
teams = Teams(client)
result = teams.create_team_membership('[TEAM_ID]', 'email@example.com', {}, 'https://example.com')