Suppose there is a tree on firebase:

Users - User1 - Name - jack Age - 21 User2 - Name - john Age - 32 

How to delete not a specific value, but completely for example user1 .?

  • Try to write more detailed questions. Explain exactly what you see the problem, how to reproduce it, what you want to get as a result, etc. - Nicolas Chabanovsky

1 answer 1

Get a link to the tree:

  myFirebaseRef = new Firebase("https://somewhere.firebaseio.com/Users/"); myFirebaseRef.child("user1").removeValue(); 

And so on, get links to the "children" you want to delete. To do this, call the child again.