remove data & collections in a document in firestore code example
Example: how to delete document firestore database
db.collection("cities").doc("DC").delete().then(() => {
console.log("Document successfully deleted!");
}).catch((error) => {
console.error("Error removing document: ", error);
});