File: //snap/google-cloud-cli/394/help/man/man1/gcloud_beta_projects_delete.1
.TH "GCLOUD_BETA_PROJECTS_DELETE" 1
.SH "NAME"
.HP
gcloud beta projects delete \- delete a project
.SH "SYNOPSIS"
.HP
\f5gcloud beta projects delete\fR \fIPROJECT_ID_OR_NUMBER\fR [\fB\-\-recommend\fR=\fIBOOLEAN_VALUE\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(BETA)\fR Deletes the project with the given project ID.
This command can fail for the following reasons:
.RS 2m
.IP "\(bu" 2m
The project specified does not exist.
.IP "\(bu" 2m
The active account does not have IAM role \f5role/owner\fR or another IAM role
with the \f5resourcemanager.projects.delete\fR permission for the given project.
.RE
.sp
See Access control for projects using IAM
(https://cloud.google.com/resource\-manager/docs/access\-control\-proj) for more
information.
.SH "EXAMPLES"
The following command deletes the project with the ID
\f5example\-foo\-bar\-1\fR:
.RS 2m
$ gcloud beta projects delete example\-foo\-bar\-1
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fIPROJECT_ID_OR_NUMBER\fR
ID or number for the project you want to delete.
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-recommend\fR=\fIBOOLEAN_VALUE\fR
If true, checks Active Assist recommendation for the risk level of project
deletion, and issues a warning in the prompt. Optional flag is set to false by
default. For details see
https://cloud.google.com/recommender/docs/change\-risk\-recommendations
.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 "SEE ALSO"
See https://support.google.com/cloud/answer/6251787 for information on creating
or deleting projects from the Google Cloud Platform Console.
.SH "NOTES"
This command is currently in beta and might change without notice. These
variants are also available:
.RS 2m
$ gcloud projects delete
.RE
.RS 2m
$ gcloud alpha projects delete
.RE