sdk-for-python/docs/examples/project/delete.md at main · appwrite/sdk-for-python · GitHub
Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 362 Bytes

delete.md

File metadata and controls

13 lines (10 loc) · 362 Bytes
from appwrite.client import Client
from appwrite.services.project import Project

client = Client()
client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
client.set_project('<YOUR_PROJECT_ID>') # Your project ID
client.set_key('<YOUR_API_KEY>') # Your secret API key

project = Project(client)

result = project.delete()