2020-01-29 02:29:26 +13:00
|
|
|
from appwrite.client import Client
|
|
|
|
from appwrite.services.users import Users
|
|
|
|
|
|
|
|
client = Client()
|
|
|
|
|
|
|
|
(client
|
|
|
|
.set_project('')
|
|
|
|
.set_key('')
|
|
|
|
)
|
|
|
|
|
|
|
|
users = Users(client)
|
|
|
|
|
2020-01-31 05:18:59 +13:00
|
|
|
result = users.delete_session('[USER_ID]', '[SESSION_ID]')
|