I tried appwrite functions delete --function-id 12345
, it deletes the online one, but even after trying appwrite pull functions
, the local one in the appwrite.json still there,
so what is the proper flow?
is it always a 3 steps like?
- delete it from remote using
appwrite functions delete --function-id 12345
- manually delete the local one in the
appwrite.json
- manually delete the code.
TL;DR
To properly delete a serverless function, developers need to:
1. Delete the function from the remote using `appwrite functions delete --function-id 12345`
2. Manually delete the local function entry in `appwrite.json`
3. Manually delete the code.