How do I delete a database from Firebase?

China☆狼群 提交于 2019-12-04 23:49:26

THIS DELETES THE ENTIRE PROJECT

To delete ONLY the database just delete the top level object/node.


Click on your project (the white box below, hiding name):

Then click on gear (settings) icon and click "Project Settings":

Scroll to bottom and click "DELETE PROJECT":

Another way if you don't want to delete the project, and just the database, is to create a file on your computer empty.json like this:

{}

Then click on the ... and "Import JSON"

Then "Browse" and upload your empty file:

You overwrite your database with an empty JSON file, effectively "deleting" the old database.

It's currently not possible to delete other Realtime Database instances created via Firebase Console.

They do have plans for adding the feature,but It'll come in the future. For now, you can watch their updates here:

Their support suggested me to wipe all data and to lock down the database to prevent any usage, as a work-around for now.

Just remembering that having multiple instance is only possible if you have a Blaze account.

Looks like Google recently introduced this feature to delete a Firebase RTDB. To delete this (after we raised this concern with Google Firebase team on Firebase RoadShow India 😃).

To do this, follow these steps:

  1. Go to your Firebase RTDB which you want to delete
  2. Delete all your data from the database
  3. Select the 3 dots on the top right corner

  1. Hit the "Disable Database" button

  2. After the database is disabled, hit that 3 dots again and click "Delete Database"

Cheers!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!