appwrite/docs/examples/1.6.x/server-python/examples/account/update-phone-verification.md

14 lines
372 B
Markdown
Raw Normal View History

2024-07-03 15:25:40 +00:00
from appwrite.client import Client
client = Client()
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
client.set_project('<YOUR_PROJECT_ID>') # Your project ID
2024-07-03 15:25:40 +00:00
client.set_session('') # The user session to authenticate with
account = Account(client)
result = account.update_phone_verification(
user_id = '<USER_ID>',
secret = '<SECRET>'
)