Get Organization
| Description | Get sub-org related to a root org id |
| HTTP Method | /v1/identity/organizations/{organization_id}/orgunits/{orgunit_id} |
| HTTP Path | GET |
| Associated Scope(s) | identity.organizations |
Request Path Parameters (If Any)
| Name | Type | Description |
|---|---|---|
| organization_id | string | Root Org UUID. |
| orgunit_id | string | ID of sub-org to be retrieved |
Response Fields (If Any)
| Name | Type | Description |
|---|---|---|
| organization | entities.OrgUnit | Sub-organization requested |
Endpoint Specific Errors (Standard API Errors are defined here)
| Http Status Code | Code | Message |
|---|---|---|
| 400 | bad_request | A bad request like “non-existent orgID” or “malformed org uuid” |
| 401 | unauthorized | No authentication provided, or invalid auth credentials, or missing scopes, etc. |
| 404 | not_found | Given org uuid cannot be found |