Organization Units
Organization units (OUs) let you organize users and groups to match your organization's structure. You can use OUs to model departments, teams, regions, or even separate tenants.
Root organization units are the top-level nodes that represent major segments of your organization. Child organization units are nested under root OUs. Together they form a tree-like structure that reflects your organizational hierarchy.
OUs can be nested to any depth. Common patterns include:
- By Department
- By Region
engineering/
frontend/
backend/
platform/
sales/
hr/
americas/
us/
latam/
emea/
apac/
Organization Units and User Types
All users belong to an OU and each user also has a user type. A user type defines:
-
the attributes in the user's profile.
-
validation rules for those attributes.
-
whether users can self-register.
Choreo Identity & Access Management ships with two default organization units, each with a predefined user type.
| Organization Unit | Default User Type | Purpose |
|---|---|---|
| Default | Person | Administrator-managed users |
| Customers | Customer | Self-registering end users |
Each user type belongs to a single OU and inherited by its child OUs. This means, a user of a certain type can only exist in that OU or its descendants. For example, the default Customers OU has a Customer user type. A user of Customer type can only exist in the Customers OU or its descendants.
Organization Handles
Every OU has a handle, a short, URL-safe identifier used to reference the OU in the hierarchy. Handles must be unique within the same parent.
Choreo Identity & Access Management's two default OUs have fixed handles:
| Organization Unit | Handle |
|---|---|
| Default | default |
| Customers | customers |
Handles compose into hierarchical paths by joining each OU's handle with a forward slash /. For example:
| Path | Description |
|---|---|
engineering | The root OU with handle engineering |
engineering/frontend | The frontend OU nested under engineering |
engineering/frontend/ui | The ui OU nested under engineering/frontend |
Hierarchical paths identify an OU by its place in the tree. For example, a sign-in flow that asks the user to pick an organization lists each option by its handle path, such as engineering/frontend. See Sign Users In to Organization Units.
Handles must be unique within the same parent. Two sibling OUs cannot share the same handle. Handles at different levels of the hierarchy can be the same, only siblings conflict.
Browse Organization Units
Go to Organization units in the Choreo Identity & Access Management Console. The page shows your OUs as a tree, with each OU's name and handle.
- Expand an OU to see its child OUs.
- When the tree has more OUs than it shows, click Load more.
- An OU defined declaratively shows a Read only icon in place of the edit actions. You cannot change or delete it.
The list has no search or filter. Expand the tree to find an OU.
Create an Organization Unit
- Go to Organization units.
- Choose where to create the OU:
- To create a root OU, click Add root organization unit.
- To create a child OU, click Add child OU on the parent's row. You can also expand the parent and click Add child organization unit.
- Check Parent organization unit at the top of the page. It shows Root organization unit for a root OU, or the parent's name and handle for a child OU.
- Enter a Name, the display name for the OU.
- Check the Handle. The Console fills it in from the name, and you can edit it. Use lowercase letters, numbers, and hyphens only, for example
engineeringorfrontend-team. The Console cannot change the handle after you create the OU. - Click Create.
To add a description, a logo, or a theme, open the OU after you create it. See Update an Organization Unit.
Saving a change does not make it live. You author in the control plane, and your users sign in on a separate data plane, so a change takes effect in an environment only after you deploy it. Go to Deploy, deploy the latest version to your first environment, then promote it to the next environment when you are ready.
Auto-sync deploys saved changes to your first environment within seconds. Turning it on is your choice, per project. See Deploy a Version, or learn why you deploy and how auto-sync works.
View an Organization Unit
- Go to Organization units.
- On the OU's row, click Edit. If you have read access only, click View.
The page header shows the OU's name and description. The tabs show the rest:
- General: Quick copy shows the OU's Handle and Organization unit ID, each with a copy button. Parent organization unit shows the parent, or says that this is a root organization unit.
- Child OUs: the OUs nested under this one. Click a child OU to open it.
- Users: the users in this OU. See List Users in an Organization Unit.
- Groups: the groups in this OU. See List Groups in an Organization Unit.
- Flows: the default Sign-in flow, Sign-up flow, Recovery flow, and Sign out flow for applications under this OU.
- Customization: the Theme and Layout applied to this OU.
- Advanced: the option to delete the OU. This tab appears only when you can delete the OU.
Update an Organization Unit
- Go to Organization units and click Edit on the OU's row.
- Make your changes:
- To rename the OU, click Edit organization unit name next to the name, enter the new name, and press Enter.
- To change the description, click Edit description next to the description and enter the new text.
- To change the default flows, select them on the Flows tab.
- To change the theme or layout, select a Theme or Layout on the Customization tab.
- Click Save changes in the unsaved-changes bar.
To change the logo, click Update logo on the OU's avatar, choose a logo, and click Save. The logo saves as soon as you click Save.
The Console does not change an OU's handle or parent.
Saving a change does not make it live. You author in the control plane, and your users sign in on a separate data plane, so a change takes effect in an environment only after you deploy it. Go to Deploy, deploy the latest version to your first environment, then promote it to the next environment when you are ready.
Auto-sync deploys saved changes to your first environment within seconds. Turning it on is your choice, per project. See Deploy a Version, or learn why you deploy and how auto-sync works.
List Users in an Organization Unit
- Go to Organization units and click Edit on the OU's row.
- Open the Users tab.
The list shows each user's Display name, User ID, and User type. It includes the users the OU owns and the users shared with it.
List Groups in an Organization Unit
- Go to Organization units and click Edit on the OU's row.
- Open the Groups tab.
The list shows each group's Group name and Group ID.
Delete an Organization Unit
- Go to Organization units.
- On the OU's row, click Delete. You can also open the OU, go to the Advanced tab, and click Delete organization unit.
- In the Delete organization unit dialog, click Delete.
Deleting an OU is permanent and cannot be undone. Deletion fails if the OU still contains users, groups, user types, agent types, connections, flows, or child OUs. Delete or reassign all contained resources before deleting the OU.
Related Guides
- User Types - User types are scoped to an organization unit
- Users - Each user belongs to an organization unit
- Groups - Each group belongs to an organization unit
- Connections - Each connection belongs to an organization unit
- Sign Users In to Organization Units - Each sign-in lands in one organization unit
Was this page helpful?