Retrieve an organization by its ID.
Requires the caller to be an admin in the organization, or any of its ancestors.
Example: Assume an organization hierarchy like: org-a
-> org-b
-> org-c
.
To retrieve org-c
, which means calling 'GET /api/v1/orgs/org-c', the caller must be an admin in org-a
, org-b
or
org-c
.
An organization
{- "id": "my-org",
- "parentId": "my-org",
- "adminGroupId": "my-external-group",
- "adminsCanCreateOrgsInSubtree": false,
- "adminsCanCreateProjectsInSubtree": false,
- "allowedClusters": [
- "westeurope-1",
- "asia-northeast1-1"
]
}