```swift import Appwrite let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let vectorsDB = VectorsDB(client) let result = try await vectorsDB.deleteDocument( databaseId: "", collectionId: "", documentId: "", transactionId: "" // optional ) ```