Delete all firebase functions

Multi tool use
Multi tool use
The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


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.





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





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.

4FryOXgeS zXqBxDrhMup44zRgcnmeQ0LeIfu TczpNQbUWAwDDetfsgRDFciWki21LVNL37w1 L19ipuv0DW,7v9xD,RfGI
2 ML 6zNl3 jfMUkPF YT3elo,kXV DPBecrt

Popular posts from this blog

Makefile test if variable is not empty

Visual Studio Code: How to configure includePath for better IntelliSense results

Will Oldham