Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To retrieve all GCP folders within an Organization using gcloud, you can use the following command:

gcloud resource-manager folders list --organization=<ORGANIZATION_ID>

Replace <ORGANIZATION_ID> with the ID of the organization you want to retrieve the folders for. This command will return a list of all folders within the specified organization, including their IDs and display names.