firebase firestore:delete <path>

Delete data from Cloud Firestore

Arguments

NameDescription
path

Options

NameDescription
-r, --recursiveRecursive. Delete all documents and subcollections at and under the specified level. May not be passed along with
--shallowShallow. Delete only documents at the specified level and ignore documents in subcollections. This action can potentially orphan documents nested in subcollections. May not be passed along with -r
--all-collectionsDelete all. Deletes the entire Firestore database, including all collections and documents. Any other flags or arguments will be ignored
-y, --yesNo confirmation. Otherwise, a confirmation prompt will appear
-h, --helpOutput usage information