1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00
gcloud-help/gcloud/alpha/projects/delete
2022-03-01 04:29:52 +00:00

50 lines
1.7 KiB
Text

NAME
gcloud alpha projects delete - delete a project
SYNOPSIS
gcloud alpha projects delete PROJECT_ID_OR_NUMBER [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Deletes the project with the given project ID.
This command can fail for the following reasons:
▪ The project specified does not exist.
▪ The active account does not have IAM role role/owner or another IAM
role with the resourcemanager.projects.delete permission for the given
project.
See Access control for projects using IAM
(https://cloud.google.com/resource-manager/docs/access-control-proj) for
more information.
EXAMPLES
The following command deletes the project with the ID example-foo-bar-1:
$ gcloud alpha projects delete example-foo-bar-1
POSITIONAL ARGUMENTS
PROJECT_ID_OR_NUMBER
ID or number for the project you want to delete.
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 $ gcloud help for details.
SEE ALSO
See https://support.google.com/cloud/answer/6251787 for information on
creating or deleting projects from the Google Cloud Platform Console.
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:
$ gcloud projects delete
$ gcloud beta projects delete