File: //snap/google-cloud-cli/current/help/man/man1/gcloud_compute_snapshots_delete.1
.TH "GCLOUD_COMPUTE_SNAPSHOTS_DELETE" 1
.SH "NAME"
.HP
gcloud compute snapshots delete \- delete Compute Engine snapshots
.SH "SYNOPSIS"
.HP
\f5gcloud compute snapshots delete\fR \fISNAPSHOT_NAME\fR [\fISNAPSHOT_NAME\fR\ ...] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fBgcloud compute snapshots delete\fR deletes one or more Compute Engine
snapshots.
.SH "EXAMPLES"
To delete Compute Engine snapshots with the names 'snapshot\-1' and
\'snapshot\-2', run:
.RS 2m
$ gcloud 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 compute snapshots list\fR command.
.RS 2m
$ gcloud 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 "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"
These variants are also available:
.RS 2m
$ gcloud alpha compute snapshots delete
.RE
.RS 2m
$ gcloud beta compute snapshots delete
.RE