User groups
A user group is a named collection of users that you manage and assign together. Instead of granting Workspace access one user at a time, you assign a group to a Workspace once, and every member gains access with the role you choose.
You can create and manage groups from Admin Panel›Administration›Groups ↗ or with the Admin API.
How user groups work
- A group bundles users under a single name and description.
- You add or remove members by their user ID.
- You assign a group to a Workspace with a role. Every current member of the group is provisioned into that Workspace with that role.
- A group can be assigned to more than one Workspace, and a user can belong to more than one group.
Groups, Workspaces, and roles
User groups sit alongside the existing access model:
- Organization: the top-level account that users belong to.
- Workspace: an isolated environment with its own members, API keys, and usage. Each member has a Workspace role.
- User group: a convenience layer for assigning many users to a Workspace at once, with a chosen role.
When you provision a group to a Workspace, you set the Workspace role applied to its members. See Your first Workspace for how Workspace roles work, and Roles and permissions for role names and API fields.
Externally managed groups
If your Organization uses an identity provider with SSO or SCIM provisioning, some groups and members can be externally managed. Your identity provider is the source of truth for their identity, membership, or lifecycle.
Externally managed users and groups cannot be edited directly in Mistral for fields owned by the identity provider. Manage those fields in your identity provider, then let the next sync update Mistral.
Typical workflow
- Create a group.
- Add members to the group.
- Assign the group to a Workspace with a role.
For the corresponding API calls, see Manage groups and roles and User provisioning.