appwrite/docs/examples/1.5.x/server-python/examples/users/update-labels.md

14 lines
353 B
Markdown
Raw Normal View History

2024-02-05 12:40:51 +00:00
from appwrite.client import Client
client = Client()
2024-02-21 11:31:50 +00:00
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
client.set_project('5df5acd0d48c2') # Your project ID
client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
2024-02-05 12:40:51 +00:00
users = Users(client)
2024-02-21 11:31:50 +00:00
result = users.update_labels(
2024-02-24 11:34:42 +00:00
user_id = '<USER_ID>',
2024-02-21 11:31:50 +00:00
labels = []
)