The simplest way for deleting data is to call removeValue() on a reference to the location of that data. We can also delete data by specifying null as the value for another write operation such as setValue() or updateChildren().
Read moreHow do I remove a child from Firebase?
If you want to remove the entire child, then just use: ref. child(“mockChild”). removeValue(); 27 Eyl 2017
Read more