How to correctly call my Appwrite function when deleting an innocap in my app?
- 1
- Android
- Functions
- Flutter
- Self Hosted

'm working on connecting my backend with the frontend of my app, and I need to replace an existing function with my Appwrite function called deleteInnocap in the appwrite_client.dart file. I want this function to be triggered when I delete an innocap in my app. However, I'm encountering issues when calling the PHP function. Can someone guide me on how to correctly call the deleteInnocap PHP function in appwrite_client.dart so that it gets executed when I delete an innocap in my app?

If you want your function to trigger on document creation, you wouldn't be executing it from your client app. In your function settings, there's a section for events. There, you'd specify you want the function to trigger on document delete
Recommended threads
- Billing issue
Hey, i recently Purchased the Pro Plan on Appwrite but I've changed my mind id there any way i xould cancel the Pro use the Free Tier and get my refund?
- I can't update my email templates in sel...
I have attached a long screenshot of the whole page to provide a better context to the issue I am having. The summary is that on navigating to the Auth templat...
- When connecting to VCS (Version Control ...
Hello, when I try to define in my function the root path of a function I get this when I click "Update".
