API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

List org_units

GET/v1/org_units

List org_units for the active tenant.

Data model

This operation works on the entity Org Unit (org_unit). All 15 fields — type, validation, required status, relationships — are listed in the schema reference.

  • Required fields: name
  • Server-managed: _id, schema, schemaVersion, tenantId, version, createdAt, updatedAt, createdBy, updatedBy, deletedAt, deletedBy — the platform assigns these fields; they are discarded in the request.

Query parameters

NameTypeDescription
cursorstring
limitnumber
includeDeletedboolean

Example

curl -X GET https://api.codemeta-os.de/v1/org_units \
  -H "X-Tenant-Id: $TENANT" \
  -b cookies.txt
const result = await cm.org_units.list();

Response codes

HTTP Meaning
200 Default Response

Search