Create Organization
Description | Creates a new sub-org related with a given root org ID. |
HTTP Method | /v1/identity/organizations/{organization_id}/orgunits |
HTTP Path | POST |
Associated Scope(s) | identity.organizations |
Request Path Parameters (If Any)
Name | Type | Description |
---|---|---|
organization_id | string | Root Org UUID. |
Request Query/Body Parameters (If Any)
Name | Type | Description |
---|---|---|
organization | entities.OrgUnit | Sub-organization to be created. |
Response Fields (If Any)
Name | Type | Description |
---|---|---|
organization | entities.OrgUnit | Sub-organization that got created. |
Endpoint Specific Errors (Standard API Errors are defined here)
Http Status Code | Code | Message |
---|---|---|
400 | bad_request | A bad request like “non-existent orgID passed as parent”, “too long org name” etc. |
401 | unauthorized | No authentication provided, or invalid auth credentials, or missing scopes, etc. |