File: //snap/google-cloud-cli/394/help/man/man1/gcloud_projects_delete.1
.TH "GCLOUD_PROJECTS_DELETE" 1
.SH "NAME"
.HP
gcloud projects delete \- delete a project
.SH "SYNOPSIS"
.HP
\f5gcloud projects delete\fR \fIPROJECT_ID_OR_NUMBER\fR [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
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 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 "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"
These variants are also available:
.RS 2m
$ gcloud alpha projects delete
.RE
.RS 2m
$ gcloud beta projects delete
.RE