Skip to content

Set up divisions and teams

Documented Checked against the CLI's current help and source. Not run end to end. CLI 0.3.1, checked 2026-11-04.

How do I organise my people?

Create a division and a team, rename and describe them, and tidy them away, with every change written to the audit trail.

What you get: your organisation laid out in divisions and teams, without opening the dashboard. You need: to be the organisation’s owner (we ran every step below as the owner). About 5 minutes.

members
quox org members listUser ID                       Email                  Name         Role     Status    Joined01M50FWMYCH96ES7AAEVT0TR31    [email protected]    Demo User    owner    active    2026-10-15 19:16:12
From a real run on the demo profile.

The user id in the first column is what you pass when you add someone to a team.

divisions
quox org divisions create --name "Field engineering" --description "Engineers who visit customer sites"Division "Field engineering" created.quox org divisions listID                            Name                 Description                           Created01M6ME8NSHK200ZJA40W9M8RVP    Field engineering    Engineers who visit customer sites    2026-11-04 23:28:19
From a real run on the demo profile.

A division is the broad grouping, such as a region or a part of the business. Give each division a name of its own.

teams
quox team create --name "North region" --description "Site visits north of the river"Team "North region" created.quox team listID                            Name                          Division    Members    Created01K50FSLA28AANT00AC6BXMZXS    Demo User's Workspace Team    -           1          2026-10-15 19:16:1201K6KE80VF842QJ4VSBCAQ4SWC    North region                  -           1          2026-11-04 23:27:57
From a real run on the demo profile.

Whoever creates a team joins it as its admin, so a new team starts with one member. Every organisation also has a default team of its own.

team get
quox team get 01K6KE80VF842QJ4VSBCAQ4SWCNorth region──────────────────────id                01K6KE80VF842QJ4VSBCAQ4SWCname              North regionslug              north-regiondescription       Site visits north of the riverscope_path        /org/01M50FWN7T8XG9K9P9JN0TA5WFscope_name        Demo User's Workspacescope  scope_type: team  path: /org/01M50FWN7T8XG9K9P9JN0TA5WF/team/01K6KE80VF842QJ4VSBC...  name_cache: North regionmembers  - user_id: 01M50FWMYCH96ES7AAEVT0TR31    role: admin    status: active    primary_email: [email protected]    display_name: Demo User
From a real run on the demo profile. Some fields left out.

The team has its own scope under the organisation, which is what lets work be held to one team. Add --json for the full record.

To add a colleague, take their user id from step 1: quox team members add <teamId> --user <userId>. quox team members remove <teamId> --user <userId> takes them off again.

update
quox team update 01K6KE80VF842QJ4VSBCAQ4SWC --description "Site visits north of the river, Monday to Friday"Team updated.quox org divisions update 01M6ME8NSHK200ZJA40W9M8RVP --name "Field service"Division updated.quox org divisions listID                            Name             Description                           Created01M6ME8NSHK200ZJA40W9M8RVP    Field service    Engineers who visit customer sites    2026-11-04 23:28:19
From a real run on the demo profile.
tidy up
quox team delete 01K6KE80VF842QJ4VSBCAQ4SWCTeam deleted.quox org divisions delete 01M6ME8NSHK200ZJA40W9M8RVPDivision deleted.quox org divisions listNo results.
From a real run on the demo profile.

Each command changed your organisation’s structure. Creating, changing and deleting a team, and creating and deleting a division, each wrote a line to the organisation’s audit trail under your name. Creating the team also set up the team’s own governed chat room, and deleting the team took that room away again.

audit
quox org audit --limit=7 --json | jq -r '.[] | "\(.created_at)  \(.action)  \(.metadata.name // "")"'2026-11-04 23:28:49  org.update  Field service2026-11-04 23:28:44  team.delete  North region2026-11-04 23:28:44  matrix.room.deprovision2026-11-04 23:28:40  team.update2026-11-04 23:28:19  org.update  Field engineering2026-11-04 23:27:58  matrix.room.provision2026-11-04 23:27:57  team.create  North region
From a real run on the demo profile, read straight after step 6.

Newest first. The division’s creation and deletion are recorded as organisation updates, with its name at the time, and the team’s chat room arrives and leaves with the team.