I understand that we can't delete a document which has subcollection. Well we can, but the collection is still accessable which is not good.
In that question, Why "single bulk" delete Collection in Firestore is not possible like it is whit real time Database? ,the logical delete was recommended by renaming the document that has subcollections.
How can we rename a document? I can't find it in the docs.
Thank you