File: //snap/google-cloud-cli/396/help/man/man1/gcloud_alpha_projects_undelete.1
.TH "GCLOUD_ALPHA_PROJECTS_UNDELETE" 1
.SH "NAME"
.HP
gcloud alpha projects undelete \- undelete a project
.SH "SYNOPSIS"
.HP
\f5gcloud alpha projects undelete\fR \fIPROJECT_ID_OR_NUMBER\fR [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(ALPHA)\fR Undeletes the project with the given project ID.
This command can fail for the following reasons:
.RS 2m
.IP "\(bu" 2m
There is no project with the given ID.
.IP "\(bu" 2m
The active account does not have Owner or Editor permissions for the given
project.
.RE
.sp
.SH "EXAMPLES"
The following command undeletes the project with the ID
\f5example\-foo\-bar\-1\fR:
.RS 2m
$ gcloud alpha projects undelete 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 undelete.
.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 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 projects undelete
.RE
.RS 2m
$ gcloud beta projects undelete
.RE