gcloud projects undelete - undelete a project
gcloud projects undelete PROJECT_ID_OR_NUMBER [GCLOUD_WIDE_FLAG ...]
Undeletes the project with the given project ID.
This command can fail for the following reasons:
There is no project with the given ID.
The active account does not have Owner or Editor permissions for the given project.
The following command undeletes the project with the ID example-foo-bar-1:
$ gcloud projects undelete example-foo-bar-1
- PROJECT_ID_OR_NUMBER
ID or number for the project you want to undelete.
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 $ gcloud help for details.
See https://support.google.com/cloud/answer/6251787 for information on creating or deleting projects from the Google Cloud Platform Console.
These variants are also available:
$ gcloud alpha projects undelete
$ gcloud beta projects undelete