firebase firestore:delete <path>
Delete data from Cloud Firestore
Arguments
Options
Name | Description |
---|
-r, --recursive | Recursive. Delete all documents and subcollections at and under the specified level. May not be passed along with |
--shallow | Shallow. 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-collections | Delete all. Deletes the entire Firestore database, including all collections and documents. Any other flags or arguments will be ignored |
-y, --yes | No confirmation. Otherwise, a confirmation prompt will appear |
-h, --help | Output usage information |