Getting an organization ID
Each organization in Yandex Cloud is assigned a unique ID. With this ID, you can perform various operations with both the organization and its internal resources.
To find out the organization ID:
-
Log in to Cloud Center
.On the Cloud Center home page that opens, you can view general info about your organization.
-
You can find the organization ID below the organization name in the center of the screen. Click
to the right of the ID to copy it.If you have multiple organizations, you can switch between them. To do this, in the top-left corner, click
next to the name of the current organization and select the one you need.
If you do not have the Yandex Cloud command line interface yet, install and initialize it.
-
To view a list of available organizations, 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.