File: //snap/google-cloud-cli/current/help/man/man1/gcloud_alpha_compute_snapshots_delete.1
.TH "GCLOUD_ALPHA_COMPUTE_SNAPSHOTS_DELETE" 1
.SH "NAME"
.HP
gcloud alpha compute snapshots delete \- delete Compute Engine snapshots
.SH "SYNOPSIS"
.HP
\f5gcloud alpha compute snapshots delete\fR \fISNAPSHOT_NAME\fR [\fISNAPSHOT_NAME\fR\ ...] [\fB\-\-global\fR\ |\ \fB\-\-region\fR=\fIREGION\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(ALPHA)\fR Delete Compute Engine snapshots.
.SH "EXAMPLES"
To delete Compute Engine snapshots with the names 'snapshot\-1' and
\'snapshot\-2', run:
.RS 2m
$ gcloud alpha compute snapshots delete snapshot\-1 snapshot\-2
.RE
To list all snapshots that were created before a specific date, use the
\-\-filter flag with the \f5gcloud alpha compute snapshots list\fR command.
.RS 2m
$ gcloud alpha compute snapshots list \e
\-\-filter="creationTimestamp<'2017\-01\-01'"
.RE
For more information on how to use \-\-filter with the list command, run $
gcloud topic filters.
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fISNAPSHOT_NAME\fR [\fISNAPSHOT_NAME\fR ...]
Names of the snapshots to delete.
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
At most one of these can be specified:
.RS 2m
.TP 2m
\fB\-\-global\fR
If set, the snapshots are global.
.TP 2m
\fB\-\-region\fR=\fIREGION\fR
Region of the snapshots to delete. Overrides the default \fBcompute/region\fR
property value for this command invocation.
.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 compute snapshots delete
.RE
.RS 2m
$ gcloud beta compute snapshots delete
.RE