Getting organization ID
In Yandex Cloud, each organization gets a unique ID. With this ID, you can perform all kinds of operations with the organization itself and the resources created inside it.
To find out the organization ID:
-
Log in to Cloud Center
.On the Cloud Center home page that opens, there is general info about your organization.
-
You can find the organization ID below the organization's name in the center of the screen. Click
to the right of the ID to copy it.If you have more than one organization, you can switch between them. To do this, click
next to the name of the current organization in the top-left corner of the screen and select another one.
If you do not have the Yandex Cloud command line interface yet, install and initialize it.
-
To view a list of organizations available to you, run this command:
yc organization-manager organization list
Result:
+----------------------+-----------------------------+-------------------------+--------+ | ID | NAME | TITLE | LABELS | +----------------------+-----------------------------+-------------------------+--------+ | bpf1smsil5q0******** | org1-technical-name | Organization One | | | bpf2c65rqcl8******** | org2-technical-name | Organization Two | | | bpfaidqca8vd******** | org3-technical-name | Organization Three | | +----------------------+-----------------------------+-------------------------+--------+
Copy the ID of the organization you need from the
ID
field.
Use the list REST API method for the Organization resource or the OrganizationService/List gRPC API call.