Organizational Units
The org-unit tree, its hierarchy, and its members.
List organizational units
Get a list of organizational units with optional pagination.
Create organizational unit
Create a new organizational unit.
Get root organizational units
Get all root organizational units (no parent).
Get user organizational units
Get all organizational units that a user is a member of.
Get a user's organizational unit scopes
Report the bulk assignments a user holds: every organizational unit of the named companies, or of every company. An empty result means the user's units were picked one by one.
Replace a user's organizational unit scopes
Assign every organizational unit of the named companies, or of every company, to a user, and keep granting the units created under them later. The body carries the whole intended set, so an omitted company is withdrawn. Units already granted stay assigned; remove them one by one to take them away.
Get organizational unit by code
Get a specific organizational unit by its code.
Update organizational unit
Update an existing organizational unit.
Get child organizational units
Get all child organizational units of a specific parent.
Soft delete organizational unit
Soft delete an organizational unit (mark as deleted).
Get organizational unit hierarchy
Get the complete hierarchy of an organizational unit (parent and all descendants).
Get organizational unit members
Get all members of a specific organizational unit.
Remove member from organizational unit
Remove a user as a member from an organizational unit.
Add member to organizational unit
Add a user as a member to an organizational unit.