Documentation base URLs use placeholder https://{your-tenant}.sso.id. Log in to show your tenant or custom domain.
Log in for Your Tenant URL
Chapter 5B — Cohorts & Bulk Access Control

Group Management & Automated Group Sync

Organize users into logical cohorts — such as Platform-Engineering, EMEA-Sales, or Tier-3-Support — in /groups. Grant an entire Group access to Applications, link Groups to B2B Organizations and Organization Units, or synchronize Groups automatically via SCIM 2.0 and OIDC/SAML claims.

Operations Story: Onboarding 120 New Engineers on Acquisition Day

How User Groups Eliminated 600 Manual Application Assignments

When CloudPulse acquired a 120-person AI startup, every incoming engineer needed immediate access to 5 internal applications (Git Portal, CI/CD Dashboard, Staging Console, Observability, and Internal Wiki).

Instead of making 600 manual user-to-application assignments, CloudPulse's IT admin created a single Core-Engineering Group in /groups, linked those 5 Applications to the group (POST /api/groups/{id}/applications/{applicationId}), and synced the 120 engineers into the group via SCIM 2.0 (POST /api/scim/v2/Groups). All 5 applications appeared in every engineer's End-User App Launcher instantly.

1. Architectural Distinction: Groups vs. Roles in SSO.ID v2

User Groups (/groups) — "Who You Are"

Groups represent organizational teams, cohorts, or external IdP security groups (e.g., DevOps-Team, Finance-Dept). Linking a Group to an Application, Organization, or Organization Unit grants all members of that group immediate access to that workspace.

RBAC Roles (/role-management) — "What You Can Do"

Roles define fine-grained capabilities inside an Application: which hierarchical App Menus (view, add, update, delete) and which backend Application API endpoints (GET, POST, PUT, DELETE) the user can execute.

Flow Diagram Group Access Assignment & SCIM Sync Flow
flowchart TD IDP["Enterprise IdP (Okta / Entra / Ping) / Admin"] -->|"SCIM 2.0 or Console"| G["User Group (/groups)"] G --> U1["User A"] G --> U2["User B"] G --> U3["User C"] G --> APP1["App 1: CRM Portal"] G --> APP2["App 2: Analytics Suite"] G --> ORG["Organization / OU Scoping"] APP1 --> TOK["Token Claims: groups: ['DevOps', 'US-West']"] APP2 --> TOK
Groups aggregate users and grant bulk access across Applications, Organizations, and OUs, syncing in real time from Okta or Entra ID via SCIM 2.0.
https://cloudpulse.us.beta.sso.id/groups Click to zoom
Group Management console at /groups for bulk multi-application access and SCIM 2.0 group mapping.
Group Management console at /groups for bulk multi-application access and SCIM 2.0 group mapping.

2. Step-by-Step Group Configuration in the Console

1

Create a Group (POST /api/groups)

Navigate to /groups and click Add Group. Provide a descriptive Group Name and Description.

2

Link Applications & Add Members (POST /api/groups/{id}/users)

Open the Group Setting Dialog to toggle which Applications this Group can access (POST / DELETE /api/groups/{id}/applications/{applicationId}) and add or remove directory users (POST /api/groups/{id}/users & DELETE /api/groups/{id}/users/{userId}).

3

Attach Groups to B2B Organizations & Organization Units

Groups can also be linked directly to B2B Customer Organizations (POST /api/organizations/{id}/groups) and sub-department Organization Units (POST /api/organization-units/{id}/groups).

3. Automated Group Synchronization (SCIM 2.0 & Federation)

  • SCIM 2.0 /Groups Endpoint: External directories (Okta, Microsoft Entra ID, JumpCloud) can create, rename, update member arrays, and delete groups automatically via GET / POST / PUT / DELETE https://{your-tenant}.sso.id/api/scim/v2/Groups.
  • IdP Group Mapping in /connections: Map incoming SAML 2.0 AttributeStatement group values or OIDC groups claims directly to SSO.ID Groups during federated login.

4. Group Management REST API Reference

Method Endpoint Description
GET / POST https://{your-tenant}.sso.id/api/groups Lists all groups in the tenant or creates a new group (PUT / DELETE /api/groups/{id}).
GET https://{your-tenant}.sso.id/api/groups/users Retrieves group member mappings (GET /api/groups/application-users returns app-scoped group users).
POST / DELETE https://{your-tenant}.sso.id/api/groups/{id}/applications/{applicationId} Grants or revokes a Group's access to a specific Application.
POST / DELETE https://{your-tenant}.sso.id/api/groups/{id}/users Adds users to a Group or removes a specific user (DELETE /api/groups/{id}/users/{userId}).
GET / POST / PUT https://{your-tenant}.sso.id/api/scim/v2/Groups RFC 7643 / 7644 SCIM 2.0 Group provisioning endpoints.

Group Management, Bulk App Access & SCIM 2.0 Group API Specifications

Below is the complete parameter-level specification for every endpoint in this module. Tenant context is automatically resolved from the signed Bearer JWT token claims or the tenant domain URL (no custom tenant header is required).

GET https://{your-tenant}.sso.id/api/groups
Bearer JWT

Lists all User Groups in the tenant directory along with their linked applications, roles, and member counts. Call GET /api/groups/{id} to retrieve a single group's detailed membership and application mappings.

Request Parameters
Parameter Type Required Description & Constraints
Authorization Header string Required Bearer JWT access token (Bearer eyJhbG...). Tenant context is resolved automatically from the token claims or request domain URL.
Response Fields & Schema
Field Type Description
groupId string (UUID) Unique Group UUID.
groupName string Display name of the group (e.g., Platform Engineering, EMEA Sales).
application_Group array Applications and roles granted to members of this group.
group_User array Users assigned to this group.
createdOn string (ISO 8601) Creation UTC timestamp.
Sample Request
curl -X GET "https://{your-tenant}.sso.id/api/groups" \
  -H "Authorization: Bearer eyJhbGciOiJSUzI1NiIs..."
Expected Response 200 OK
[
  {
    "groupId": "grp_66112233-4455-4667-8899-aabbccddeeff",
    "groupName": "Customer Success Cohort",
    "application_Group": [
      { "applicationId": "app_7712b", "applicationName": "CloudPulse CRM" }
    ],
    "createdOn": "2026-10-15T09:00:00Z"
  }
]
POST https://{your-tenant}.sso.id/api/groups
Bearer JWT

Creates a new directory User Group. To update a group, call PUT /api/groups/{id}; to delete a group, call DELETE /api/groups/{id}.

Request Parameters
Parameter Type Required Description & Constraints
Authorization Header string Required Bearer JWT access token (Bearer eyJhbG...). Tenant context is resolved automatically from the token claims or request domain URL.
groupName Body string Required Unique name of the group (1-150 characters).
application_Group Body array Optional Optional initial list of applications to grant to this group.
group_Role Body array Optional Optional initial list of roles to grant to members of this group.
Response Fields & Schema
Field Type Description
groupId string (UUID) Newly created Group UUID.
groupName string Group name.
createdOn string (ISO 8601) Creation timestamp.
Sample Request
curl -X POST "https://{your-tenant}.sso.id/api/groups" \
  -H "Authorization: Bearer eyJhbGciOiJSUzI1NiIs..." \
  -H "Content-Type: application/json" \
  -d '{
    "groupName": "DevSecOps Engineers"
  }'
Expected Response 201 Created
{
  "groupId": "grp_99887766-5544-4332-9110-aabbccddeeff",
  "groupName": "DevSecOps Engineers",
  "createdOn": "2026-11-19T12:50:00Z"
}
POST https://{your-tenant}.sso.id/api/groups/{id}/users/{userId}
Bearer JWT

Adds a User to a Group. All Applications and Roles linked to the Group are immediately inherited by the user. Use GET /api/groups/{id}/users to list members and DELETE /api/groups/{id}/users/{userId} to remove a member.

Request Parameters
Parameter Type Required Description & Constraints
Authorization Header string Required Bearer JWT access token (Bearer eyJhbG...). Tenant context is resolved automatically from the token claims or request domain URL.
id Path string (UUID) Required Target Group UUID.
userId Path string (UUID) Required User UUID to add to the group.
groupId Body string (UUID) Required Target Group UUID.
userId Body string (UUID) Required User UUID to add.
Response Fields & Schema
Field Type Description
groupId string (UUID) Group UUID.
userId string (UUID) Added User UUID.
createdOn string (ISO 8601) Membership timestamp.
Sample Request
curl -X POST "https://{your-tenant}.sso.id/api/groups/grp_99887766/users/usr_33445566" \
  -H "Authorization: Bearer eyJhbGciOiJSUzI1NiIs..." \
  -H "Content-Type: application/json" \
  -d '{
    "groupId": "grp_99887766",
    "userId": "usr_33445566"
  }'
Expected Response 200 OK
{
  "groupId": "grp_99887766",
  "userId": "usr_33445566",
  "createdOn": "2026-11-19T12:51:00Z"
}
POST https://{your-tenant}.sso.id/api/scim/v2/Groups
SCIM 2.0 Bearer Token

RFC 7643 / 7644 SCIM 2.0 Group Provisioning Endpoint. Enables external IdPs (Okta, Microsoft Entra ID) to create, synchronize (PUT /api/scim/v2/Groups/{id}), query (GET /api/scim/v2/Groups), and delete (DELETE /api/scim/v2/Groups/{id}) groups and their member lists.

Request Parameters
Parameter Type Required Description & Constraints
Authorization Header string Required SCIM 2.0 Bearer token (Bearer scim_tok_...) generated in Tenant or Connection settings.
schemas Body array Required Must include ["urn:ietf:params:scim:schemas:core:2.0:Group"].
displayName Body string Required Group display name.
members Body array Optional Array of member objects: [{ "value": "usr_...", "display": "Sarah Connor" }].
Response Fields & Schema
Field Type Description
schemas array SCIM 2.0 Core Group schema URI.
id string (UUID) Generated SSO.ID Group UUID.
displayName string Group display name.
members array Synchronized group members.
meta ScimMeta SCIM resource metadata.
Sample Request
curl -X POST "https://{your-tenant}.sso.id/api/scim/v2/Groups" \
  -H "Authorization: Bearer scim_tok_9918273645abcdef" \
  -H "Content-Type: application/scim+json" \
  -d '{
    "schemas": ["urn:ietf:params:scim:schemas:core:2.0:Group"],
    "displayName": "Okta-Cloud-Architects",
    "members": [
      {
        "value": "usr_77112233-4455-4667-8899-aabbccddeeff",
        "display": "Sarah Connor"
      }
    ]
  }'
Expected Response 201 Created
{
  "schemas": ["urn:ietf:params:scim:schemas:core:2.0:Group"],
  "id": "grp_55443322-1100-4998-8776-655443322110",
  "displayName": "Okta-Cloud-Architects",
  "members": [
    {
      "value": "usr_77112233-4455-4667-8899-aabbccddeeff",
      "display": "Sarah Connor"
    }
  ],
  "meta": {
    "resourceType": "Group",
    "created": "2026-11-19T12:52:00Z",
    "location": "https://{your-tenant}.sso.id/api/scim/v2/Groups/grp_55443322-1100-4998-8776-655443322110"
  }
}
AI Agent Prompt Automate Team Cohort Provisioning & Bulk Application Access via /api/groups
You are an identity automation engineer. Write a provisioning module that manages **User Groups and Bulk Application Assignments** in **SSO.ID v2** (`https://{your-tenant}.sso.id/api`).

Implement a function `provisionTeamGroup(groupName, description, applicationIds, memberUserIds)` that:
1. Creates the group via `POST https://{your-tenant}.sso.id/api/groups` (`{ name: groupName, description }`).
2. Grants the group access to each application in `applicationIds` via `POST https://{your-tenant}.sso.id/api/groups/{groupId}/applications/{appId}`.
3. Adds the initial cohort of users via `POST https://{your-tenant}.sso.id/api/groups/{groupId}/users`.
4. Includes a helper `syncScimGroup(groupId, displayName, memberIds)` using `PUT https://{your-tenant}.sso.id/api/scim/v2/Groups/{groupId}` with schema `urn:ietf:params:scim:schemas:core:2.0:Group`.