File: //snap/google-cloud-cli/396/help/man/man1/gcloud_alpha_dns_managed-zones_delete.1
.TH "GCLOUD_ALPHA_DNS_MANAGED\-ZONES_DELETE" 1
.SH "NAME"
.HP
gcloud alpha dns managed\-zones delete \- delete an empty Cloud DNS managed\-zone
.SH "SYNOPSIS"
.HP
\f5gcloud alpha dns managed\-zones delete\fR \fIZONE_NAME\fR [\fB\-\-location\fR=\fILOCATION\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(ALPHA)\fR This command deletes an empty Cloud DNS managed\-zone. An empty
managed\-zone has only SOA and NS record\-sets.
.SH "EXAMPLES"
To delete an empty managed\-zone, run:
.RS 2m
$ gcloud alpha dns managed\-zones delete my\-zone
.RE
To delete an empty zonal managed\-zone in us\-east1\-c, run:
.RS 2m
$ gcloud alpha dns managed\-zones delete my\-zone \-\-location=us\-east1\-c
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fIZONE_NAME\fR
The name of the empty managed\-zone to be deleted.
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-location\fR=\fILOCATION\fR
Specifies the desired service location the request is sent to. Defaults to Cloud
DNS global service. Use \-\-location=global if you want to target the global
service.
.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 dns managed\-zones delete
.RE
.RS 2m
$ gcloud beta dns managed\-zones delete
.RE