How do I remove a hosted site from firebase

Solution 1:

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.

Solution 2:

If you have multiple site hosted in same project, then use -s flag to specify the site you want to disable.

firebase hosting:disable -s yoursitename

Solution 3:

It's a bit hidden, but here are the steps:

  1. Go to the Firebase Hosting console for your project, you will see your domain.
  2. Hover over your domain. There's an overflow menu ( three vertical dots) on the right.
  3. From the overflow menu select Delete Domain