Customer Org Units
All operations for Customer Org Units.
Data model
The endpoints of this module work on the following entity. The schema reference lists every field with type, validation and relationships:
| Entity | Schema ID | Fields | Sequence | Permissions |
|---|---|---|---|---|
| Customer Org Unit | customer_org_unit |
7 | — | customer_org_unit_* |
Endpoints
| Method | Path | Operation | Description |
|---|---|---|---|
POST |
/v1/customer_org_units |
Create customer_org_unit | Create a new customer_org_unit in the active tenant. |
DELETE |
/v1/customer_org_units/{id} |
Delete customer_org_unit | Soft delete entity. |
GET |
/v1/customer_org_units/{id} |
Get customer_org_unit by id | Fetch a single customer_org_unit. |
GET |
/v1/customer_org_units/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/customer_org_units/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/customer_org_units/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/customer_org_units/tree |
GET /v1/customer_org_units/tree | CodeMeta OS API endpoint. |
GET |
/v1/customer_org_units |
List customer_org_units | List customer_org_units for the active tenant. |
PATCH |
/v1/customer_org_units/{id} |
Patch customer_org_unit | JSON Merge Patch update. |
POST |
/v1/customer_org_units/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/customer_org_units/{id}/transition |
POST /v1/customer_org_units/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/customer_org_units/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/customer_org_units/{id} |
Replace customer_org_unit | Full replace with optimistic locking. |