How do I remove a hosted site from firebase

dpix picture dpix · Mar 4, 2017 · Viewed 46.7k times · Source

I have a hosted site on firebase which I am not using anymore. I still want to keep the project but want to remove the hosted site. Is there any way to do this or do I just need to upload an empty directory. Doesn't seem to be an option in the UI

Answer

Eric Tan picture Eric Tan · Jun 16, 2017

It can be deleted.

  1. Run firebase hosting:disable through the firebase-tools CLI first.
  2. Go to Firebase Console and select Hosting from the menu of the left.
  3. You will see the deployed project with a list of your historical actions like Deployed, disabled, etc.
  4. Only after you have disabled the site, the "three vertical dots" menu will be available for you to choose the action to delete the deployment.