Retrieve an organization by its ID. Contact persons are also included.
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/admin/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",
- "migrationStatus": "EXCLUSIVE_LOGIN",
- "adminGroupId": "my-external-group",
- "isDeleted": false,
- "adminsCanCreateOrgsInSubtree": false,
- "adminsCanCreateProjectsInSubtree": false,
- "allowedClusters": [
- "westeurope-1",
- "asia-northeast1-1"
], - "profilesEnabled": true,
- "contactPersons": [
- {
- "id": 0,
- "email": "user@example.com",
- "name": "string",
- "phone": "string",
- "note": "string"
}
]
}