gcloud beta projects delete Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud beta projects delete - delete a project
- SYNOPSIS
gcloud beta projects deletePROJECT_ID_OR_NUMBER[--recommend=BOOLEAN_VALUE][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(BETA)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/owneror another IAMrole with theresourcemanager.projects.deletepermission for thegiven project.
SeeAccesscontrol for projects using IAM for more information.
- EXAMPLES
- The following command deletes the project with the ID
example-foo-bar-1:gcloudbetaprojectsdeleteexample-foo-bar-1 - POSITIONAL ARGUMENTS
PROJECT_ID_OR_NUMBER- ID or number for the project you want to delete.
- FLAGS
--recommend=BOOLEAN_VALUE- If true, checks Active Assist recommendation for the risk level of projectdeletion, and issues a warning in the prompt. Optional flag is set to false bydefault. For details seehttps://cloud.google.com/recommender/docs/change-risk-recommendations
- 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 helpfor details. - SEE ALSO
- Seehttps://support.google.com/cloud/answer/6251787for information on creating or deleting projects from the Google Cloud PlatformConsole.
- NOTES
- This command is currently in beta and might change without notice. Thesevariants are also available:
gcloudprojectsdeletegcloudalphaprojectsdelete
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.