HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/current/help/man/man1/gcloud_alpha_firestore_bulk-delete.1
.TH "GCLOUD_ALPHA_FIRESTORE_BULK\-DELETE" 1



.SH "NAME"
.HP
gcloud alpha firestore bulk\-delete \- bulk delete Cloud Firestore documents



.SH "SYNOPSIS"
.HP
\f5gcloud alpha firestore bulk\-delete\fR [\fB\-\-async\fR] [\fB\-\-collection\-ids\fR=[\fICOLLECTION_IDS\fR,...]] [\fB\-\-database\fR=\fIDATABASE\fR;\ default="(default)"] [\fB\-\-namespace\-ids\fR=[\fINAMESPACE_IDS\fR,...]] [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "DESCRIPTION"

\fB(ALPHA)\fR bulk delete Cloud Firestore documents.



.SH "EXAMPLES"

To bulk delete a specific set of collections groups asynchronously, run:

.RS 2m
$ gcloud alpha firestore bulk\-delete \e
    \-\-collection\-ids='specific collection group1','specific
 collection group2' \-\-async
.RE

To bulk delete all collection groups from certain namespace, run:

.RS 2m
$ gcloud alpha firestore bulk\-delete \e
    \-\-namespace\-ids='specific namespace id'
.RE



.SH "FLAGS"

.RS 2m
.TP 2m
\fB\-\-async\fR

Return immediately, without waiting for the operation in progress to complete.

.TP 2m
\fB\-\-collection\-ids\fR=[\fICOLLECTION_IDS\fR,...]

List specifying which collections will be included in the operation. When
omitted, all collections are included.

For example, to operate on only the \f5customers\fR and \f5orders\fR
collections:

.RS 2m
$ gcloud alpha firestore bulk\-delete \e
    \-\-collection\-ids='customers','orders'
.RE

.TP 2m
\fB\-\-database\fR=\fIDATABASE\fR; default="(default)"

The database to operate on. The default value is \f5(default)\fR.

For example, to operate on database \f5foo\fR:

.RS 2m
$ gcloud alpha firestore bulk\-delete \-\-database='foo'
.RE

.TP 2m
\fB\-\-namespace\-ids\fR=[\fINAMESPACE_IDS\fR,...]

List specifying which namespaces will be included in the operation. When
omitted, all namespaces are included.

This is only supported for Datastore Mode databases.

For example, to operate on only the \f5customers\fR and \f5orders\fR namespaces:

.RS 2m
$ gcloud alpha firestore bulk\-delete \e
    \-\-namespaces\-ids='customers','orders'
.RE


.RE
.sp

.SH "GCLOUD WIDE FLAGS"

These flags are available to all commands: \-\-access\-token\-file, \-\-account,
\-\-billing\-project, \-\-configuration, \-\-flags\-file, \-\-flatten,
\-\-format, \-\-help, \-\-impersonate\-service\-account, \-\-log\-http,
\-\-project, \-\-quiet, \-\-trace\-token, \-\-user\-output\-enabled,
\-\-verbosity.

Run \fB$ gcloud help\fR for details.



.SH "NOTES"

This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct project,
you might be trying to access an API with an invitation\-only early access
allowlist. These variants are also available:

.RS 2m
$ gcloud firestore bulk\-delete
.RE

.RS 2m
$ gcloud beta firestore bulk\-delete
.RE