2020-01-29 02:29:26 +13:00
|
|
|
from appwrite.client import Client
|
|
|
|
from appwrite.services.teams import Teams
|
|
|
|
|
|
|
|
client = Client()
|
|
|
|
|
|
|
|
(client
|
|
|
|
.set_project('')
|
|
|
|
.set_key('')
|
|
|
|
)
|
|
|
|
|
|
|
|
teams = Teams(client)
|
|
|
|
|
2020-01-31 05:18:59 +13:00
|
|
|
result = teams.delete_membership('[TEAM_ID]', '[INVITE_ID]')
|