Set up divisions and teams
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.
Do it yourself
Section titled “Do it yourself”1. See who is in the organisation
Section titled “1. See who is in the organisation”quox org members listUser ID Email Name Role Status Joined01M50FWMYCH96ES7AAEVT0TR31 [email protected] Demo User owner active 2026-10-15 19:16:12 The user id in the first column is what you pass when you add someone to a team.
2. Create a division
Section titled “2. Create a division”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 A division is the broad grouping, such as a region or a part of the business. Give each division a name of its own.
3. Create a team
Section titled “3. Create a team”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 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.
4. Look inside the team
Section titled “4. Look inside the team”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 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.
5. Change them
Section titled “5. Change them”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 6. Tidy up
Section titled “6. Tidy up”quox team delete 01K6KE80VF842QJ4VSBCAQ4SWCTeam deleted.quox org divisions delete 01M6ME8NSHK200ZJA40W9M8RVPDivision deleted.quox org divisions listNo results. What just happened
Section titled “What just happened”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.
Check it yourself
Section titled “Check it yourself”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 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.
- Back to your organisation
- Every team and organisation command: quox team and quox org