emulators_clear
Deletes all data for selected Firebase emulator services—Firestore, Auth, Storage, Pub/Sub, and Tasks—so you can reset test environments cleanly; use confirmProject when clearing multiple services.
Instructions
DESTRUCTIVE: delete all data of the chosen services (every Firestore document, every Auth user and tenant, every Storage object, every Pub/Sub topic, subscription, schema and message, every Cloud Tasks task and its history). Clearing more than one service needs confirmProject set to the project id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sections | Yes | Services to clear | |
| runTriggers | No | Firestore only: run the delete triggers of the cleared documents; default false | |
| confirmProject | No | The project id, required when clearing more than one service (the console's safeguard) |