gcloud beta projects move (original) (raw)
gcloud beta projects move
NAME
gcloud beta projects move - move a project into an organization
SYNOPSIS
gcloud beta projects move [PROJECT_ID_OR_NUMBER](#PROJECT%5FID%5FOR%5FNUMBER) [[--folder](#--folder)=FOLDER_ID] [[--organization](#--organization)=ORGANIZATION_ID] [[GCLOUD_WIDE_FLAG](#GCLOUD-WIDE-FLAGS) …]
DESCRIPTION
(BETA) Moves the given project into the given organization.
This command can fail for the following reasons:
- There is no project with the given ID.
- There is no organization with the given ID, if an organization is given as the destination.
- There is no folder with the given ID, if a folder is given as the destination.
- More than one of organization or folder is provided.
- The active account does not have the resourcemanager.projects.update permission for the given project.
- The active account does not have the resourcemanager.projects.create permission for the given organization.
- The given project is already in an organization.
EXAMPLES
The following command moves a project with the IDsuper-awesome-project into the organization 25872158:
gcloud beta projects move super-awesome-project --organization=25872158POSITIONAL ARGUMENTS
PROJECT_ID_OR_NUMBER
ID or number for the project you want to move.
FLAGS
--folder=FOLDER_ID
ID for the folder to use as a parent
--organization=ORGANIZATION_ID
ID for the organization to use as a parent
GCLOUD WIDE FLAGS
These flags are available to all commands: [--access-token-file](/sdk/gcloud/reference#--access-token-file),[--account](/sdk/gcloud/reference#--account), [--billing-project](/sdk/gcloud/reference#--billing-project),[--configuration](/sdk/gcloud/reference#--configuration),[--flags-file](/sdk/gcloud/reference#--flags-file),[--flatten](/sdk/gcloud/reference#--flatten), [--format](/sdk/gcloud/reference#--format), [--help](/sdk/gcloud/reference#--help), [--impersonate-service-account](/sdk/gcloud/reference#--impersonate-service-account),[--log-http](/sdk/gcloud/reference#--log-http),[--project](/sdk/gcloud/reference#--project), [--quiet](/sdk/gcloud/reference#--quiet), [--trace-token](/sdk/gcloud/reference#--trace-token), [--user-output-enabled](/sdk/gcloud/reference#--user-output-enabled),[--verbosity](/sdk/gcloud/reference#--verbosity).
Run $ [gcloud help](/sdk/gcloud/reference) for details.
NOTES
This command is currently in beta and might change without notice. This variant is also available:
gcloud alpha projects moveExcept 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 2025-05-07 UTC.