- NAME
-
- gcloud projects delete - delete a project
- SYNOPSIS
-
-
gcloud projects delete
PROJECT_ID_OR_NUMBER
[GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
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 theresourcemanager.projects.delete
permission for the given project.
See Access control for projects using IAM for more information.
- EXAMPLES
-
The following command deletes the project with the ID
example-foo-bar-1
:gcloud 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
-
These variants are also available:
gcloud alpha projects delete
gcloud beta projects delete
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-08 UTC.