Skip to main content
Unit memberships define which users belong to which units (and department and user types within that unit). Use these endpoints:
  • List a user’s membershipsGET /users/{user}/units.
  • Add a membershipPOST /users/{user}/units (body specifies unit, department, user types).
  • Update a membershipPATCH /users/{user}/units/{unit} (e.g. change department, user types, or move to another unit).
  • Remove a membershipDELETE /users/{user}/units/{unit}. The user must have at least one remaining membership.
Use the user’s Ziik ID (or resolve it via GET /users/reference/{reference}) and the unit ID (or resolve via GET /units/reference/{unit}) when managing memberships from your system.