Delete all firebase functions

Multi tool use


Delete all firebase functions
I have a firebase project with multiple functions deployed. Is it possible to remove all the functions in a single go through the CLI?
I tried the command firebase functions:delete --region us-central1
and the error output was Error: Must supply at least function or group name.
firebase functions:delete --region us-central1
Error: Must supply at least function or group name.
As of right now, I deleted all of them specifying each of their names as such:firebase functions:delete function1 function2 ...functionN
but this is very cumbersome.
firebase functions:delete function1 function2 ...functionN
The version of firebase-tools installed is v4.0.0
2 Answers
2
Just comment (or delete) all the functions in your index.js file and redeploy it through the CLI.
I don't know if there is any other solution. Interested to see what the Firebase team would reply.
– Renaud Tarnec
31 mins ago
Sign in to your Google Cloud Console at https://console.cloud.google.com, select your project, then from the list on the left pick Cloud Functions. When you get the list of functions, click the check box on the header line, then the Delete button in the tool bar to delete all.
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
So its not possible to delete the functions without redeploying? Your solution works but I was looking for a more elegant solution from the firebase team. Thanks.
– Manish Shrestha
32 mins ago