Groups
Create, read, update and delete the groups your identity provider provisions.
List groups
Returns a paginated list of SCIM-provisioned groups in the caller's organization. Supports filtering and pagination per RFC 7644 §3.4.2.
Requires any one of
scim:group:read
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | optional | SCIM filter expression. Supports `id`, `externalId`, and `displayName`. |
| startIndex | integer | optional | 1-based index of the first result to return. |
| count | integer | optional | Maximum number of results to return in this page. |
Responses
| Status | Reason | Schema |
|---|---|---|
| 200 | OK | ListResponse |
| 400 | Bad Request | ScimError |
| 401 | Unauthorized | ScimError |
| 403 | Forbidden | ScimError |
Response fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| schemas | string[] | required | |
| totalResults | integer | required | Total number of resources matching the filter, across all pages. |
| startIndex | integer | optional | 1-based index of the first result in this page. |
| itemsPerPage | integer | optional | Number of resources returned in this page. |
| Resources | any[] | required | SCIM resources matching the request. The `meta.resourceType` field on each entry distinguishes `User` from `Group`; a given list response only contains one kind, matching the queried endpoint. |
curl -X GET "https://api.betterup.co/scim/v2/Groups" \
-H "Authorization: Bearer <access_token>"{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:ListResponse"
],
"totalResults": 0,
"startIndex": 0,
"itemsPerPage": 0,
"Resources": [
{}
]
}Create group
Provisions a new BetterUp group from a SCIM payload. Idempotent on
externalId within the caller's organization: a repeat POST with the
same externalId returns 200 with the existing resource instead of
201. An externalId belonging to a group in a different organization
does not collide — the request is treated as a fresh provisioning.
Members may be supplied at create time. Every members[].value must
be the id of a SCIM-provisioned User in the same organization;
unresolved values are rejected with 400.
Requires any one of
scim:group:write
Request body
| Parameter | Type | Required | Description |
|---|---|---|---|
| schemas | string[] | required | SCIM schema URIs identifying the resource type. |
| id | string (uuid) | required | Server-assigned, immutable identifier for the group. Generated by BetterUp. |
| externalId | string | null | optional | Identifier assigned by the identity provider. Used by the IdP to correlate its own group identifier with the BetterUp group, and doubles as the idempotency key for POST within an organization. |
| displayName | string | required | Human-readable name for the group. Not required to be unique within an organization (RFC 7643 §4.2). |
| members | object[] | optional | SCIM-provisioned users belonging to this group. PUT and PATCH `replace` operations apply full-replace semantics; PATCH `add` and `remove` operations apply differentially. Every `value` must be the `id` of a SCIM-provisioned User in the same organization. UUIDs that do not resolve to a SCIM-linked user are rejected with 400 and the unresolved values are returned in the error envelope. |
| members[].value | string (uuid) | required | The `id` of a SCIM User in the same organization. |
| members[].display | string | optional | Human-readable label for the member (server-rendered). |
| members[].type | string (enum) | optional | Resource type of the member. Only `User` is supported — nested groups are not supported. Allowed values
|
| meta | object | optional | Resource metadata (RFC 7643 §3.1). |
| meta.resourceType | string | optional | |
| meta.created | string (date-time) | optional | |
| meta.lastModified | string (date-time) | optional | |
| meta.location | string | optional | URI of the resource being returned. |
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group"
],
"id": "<uuid>",
"externalId": "<externalId>",
"displayName": "<displayName>",
"members": [
{
"value": "<uuid>",
"display": "<display>",
"type": "User"
}
],
"meta": {
"resourceType": "Group",
"created": "<date-time>",
"lastModified": "<date-time>",
"location": "<location>"
}
}Responses
| Status | Reason | Schema |
|---|---|---|
| 200 | OK | Group |
| 201 | Created | Group |
| 400 | Bad Request | ScimError |
| 401 | Unauthorized | ScimError |
| 403 | Forbidden | ScimError |
Response fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| schemas | string[] | required | SCIM schema URIs identifying the resource type. |
| id | string (uuid) | required | Server-assigned, immutable identifier for the group. Generated by BetterUp. |
| externalId | string | null | optional | Identifier assigned by the identity provider. Used by the IdP to correlate its own group identifier with the BetterUp group, and doubles as the idempotency key for POST within an organization. |
| displayName | string | required | Human-readable name for the group. Not required to be unique within an organization (RFC 7643 §4.2). |
| members | object[] | optional | SCIM-provisioned users belonging to this group. PUT and PATCH `replace` operations apply full-replace semantics; PATCH `add` and `remove` operations apply differentially. Every `value` must be the `id` of a SCIM-provisioned User in the same organization. UUIDs that do not resolve to a SCIM-linked user are rejected with 400 and the unresolved values are returned in the error envelope. |
| members[].value | string (uuid) | required | The `id` of a SCIM User in the same organization. |
| members[].display | string | optional | Human-readable label for the member (server-rendered). |
| members[].type | string (enum) | optional | Resource type of the member. Only `User` is supported — nested groups are not supported. Allowed values
|
| meta | object | optional | Resource metadata (RFC 7643 §3.1). |
| meta.resourceType | string | optional | |
| meta.created | string (date-time) | optional | |
| meta.lastModified | string (date-time) | optional | |
| meta.location | string | optional | URI of the resource being returned. |
curl -X POST "https://api.betterup.co/scim/v2/Groups" \
-H "Authorization: Bearer <access_token>" \
-H "Content-Type: application/scim+json" \
-d '{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group"
],
"id": "<uuid>",
"externalId": "<externalId>",
"displayName": "<displayName>",
"members": [
{
"value": "<uuid>",
"display": "<display>",
"type": "User"
}
],
"meta": {
"resourceType": "Group",
"created": "<date-time>",
"lastModified": "<date-time>",
"location": "<location>"
}
}'{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group"
],
"id": "<uuid>",
"externalId": "<externalId>",
"displayName": "<displayName>",
"members": [
{
"value": "<uuid>",
"display": "<display>",
"type": "User"
}
],
"meta": {
"resourceType": "Group",
"created": "<date-time>",
"lastModified": "<date-time>",
"location": "<location>"
}
}Show group
Returns the SCIM representation of a single group, including its current members. Returns 404 if the group is in a different organization or does not exist.
Requires any one of
scim:group:read
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | required | BetterUp group UUID (matches the `id` returned at create time). |
Responses
Response fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| schemas | string[] | required | SCIM schema URIs identifying the resource type. |
| id | string (uuid) | required | Server-assigned, immutable identifier for the group. Generated by BetterUp. |
| externalId | string | null | optional | Identifier assigned by the identity provider. Used by the IdP to correlate its own group identifier with the BetterUp group, and doubles as the idempotency key for POST within an organization. |
| displayName | string | required | Human-readable name for the group. Not required to be unique within an organization (RFC 7643 §4.2). |
| members | object[] | optional | SCIM-provisioned users belonging to this group. PUT and PATCH `replace` operations apply full-replace semantics; PATCH `add` and `remove` operations apply differentially. Every `value` must be the `id` of a SCIM-provisioned User in the same organization. UUIDs that do not resolve to a SCIM-linked user are rejected with 400 and the unresolved values are returned in the error envelope. |
| members[].value | string (uuid) | required | The `id` of a SCIM User in the same organization. |
| members[].display | string | optional | Human-readable label for the member (server-rendered). |
| members[].type | string (enum) | optional | Resource type of the member. Only `User` is supported — nested groups are not supported. Allowed values
|
| meta | object | optional | Resource metadata (RFC 7643 §3.1). |
| meta.resourceType | string | optional | |
| meta.created | string (date-time) | optional | |
| meta.lastModified | string (date-time) | optional | |
| meta.location | string | optional | URI of the resource being returned. |
curl -X GET "https://api.betterup.co/scim/v2/Groups/<id>" \
-H "Authorization: Bearer <access_token>"{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group"
],
"id": "<uuid>",
"externalId": "<externalId>",
"displayName": "<displayName>",
"members": [
{
"value": "<uuid>",
"display": "<display>",
"type": "User"
}
],
"meta": {
"resourceType": "Group",
"created": "<date-time>",
"lastModified": "<date-time>",
"location": "<location>"
}
}Replace group
Whole-resource replacement (RFC 7644 §3.5.1). The members list is diffed against current active membership and add/remove operations are applied to bring the group into the desired state. Mapped attributes absent from the payload are cleared.
Requires any one of
scim:group:write
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | required | BetterUp group UUID (matches the `id` returned at create time). |
Request body
| Parameter | Type | Required | Description |
|---|---|---|---|
| schemas | string[] | required | SCIM schema URIs identifying the resource type. |
| id | string (uuid) | required | Server-assigned, immutable identifier for the group. Generated by BetterUp. |
| externalId | string | null | optional | Identifier assigned by the identity provider. Used by the IdP to correlate its own group identifier with the BetterUp group, and doubles as the idempotency key for POST within an organization. |
| displayName | string | required | Human-readable name for the group. Not required to be unique within an organization (RFC 7643 §4.2). |
| members | object[] | optional | SCIM-provisioned users belonging to this group. PUT and PATCH `replace` operations apply full-replace semantics; PATCH `add` and `remove` operations apply differentially. Every `value` must be the `id` of a SCIM-provisioned User in the same organization. UUIDs that do not resolve to a SCIM-linked user are rejected with 400 and the unresolved values are returned in the error envelope. |
| members[].value | string (uuid) | required | The `id` of a SCIM User in the same organization. |
| members[].display | string | optional | Human-readable label for the member (server-rendered). |
| members[].type | string (enum) | optional | Resource type of the member. Only `User` is supported — nested groups are not supported. Allowed values
|
| meta | object | optional | Resource metadata (RFC 7643 §3.1). |
| meta.resourceType | string | optional | |
| meta.created | string (date-time) | optional | |
| meta.lastModified | string (date-time) | optional | |
| meta.location | string | optional | URI of the resource being returned. |
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group"
],
"id": "<uuid>",
"externalId": "<externalId>",
"displayName": "<displayName>",
"members": [
{
"value": "<uuid>",
"display": "<display>",
"type": "User"
}
],
"meta": {
"resourceType": "Group",
"created": "<date-time>",
"lastModified": "<date-time>",
"location": "<location>"
}
}Responses
| Status | Reason | Schema |
|---|---|---|
| 200 | OK | Group |
| 400 | Bad Request | ScimError |
| 401 | Unauthorized | ScimError |
| 403 | Forbidden | ScimError |
| 404 | Not Found | ScimError |
| 409 | Conflict | ScimError |
Response fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| schemas | string[] | required | SCIM schema URIs identifying the resource type. |
| id | string (uuid) | required | Server-assigned, immutable identifier for the group. Generated by BetterUp. |
| externalId | string | null | optional | Identifier assigned by the identity provider. Used by the IdP to correlate its own group identifier with the BetterUp group, and doubles as the idempotency key for POST within an organization. |
| displayName | string | required | Human-readable name for the group. Not required to be unique within an organization (RFC 7643 §4.2). |
| members | object[] | optional | SCIM-provisioned users belonging to this group. PUT and PATCH `replace` operations apply full-replace semantics; PATCH `add` and `remove` operations apply differentially. Every `value` must be the `id` of a SCIM-provisioned User in the same organization. UUIDs that do not resolve to a SCIM-linked user are rejected with 400 and the unresolved values are returned in the error envelope. |
| members[].value | string (uuid) | required | The `id` of a SCIM User in the same organization. |
| members[].display | string | optional | Human-readable label for the member (server-rendered). |
| members[].type | string (enum) | optional | Resource type of the member. Only `User` is supported — nested groups are not supported. Allowed values
|
| meta | object | optional | Resource metadata (RFC 7643 §3.1). |
| meta.resourceType | string | optional | |
| meta.created | string (date-time) | optional | |
| meta.lastModified | string (date-time) | optional | |
| meta.location | string | optional | URI of the resource being returned. |
curl -X PUT "https://api.betterup.co/scim/v2/Groups/<id>" \
-H "Authorization: Bearer <access_token>" \
-H "Content-Type: application/scim+json" \
-d '{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group"
],
"id": "<uuid>",
"externalId": "<externalId>",
"displayName": "<displayName>",
"members": [
{
"value": "<uuid>",
"display": "<display>",
"type": "User"
}
],
"meta": {
"resourceType": "Group",
"created": "<date-time>",
"lastModified": "<date-time>",
"location": "<location>"
}
}'{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group"
],
"id": "<uuid>",
"externalId": "<externalId>",
"displayName": "<displayName>",
"members": [
{
"value": "<uuid>",
"display": "<display>",
"type": "User"
}
],
"meta": {
"resourceType": "Group",
"created": "<date-time>",
"lastModified": "<date-time>",
"location": "<location>"
}
}Update group
Partial update (RFC 7644 §3.5.2). Accepts add / replace / remove
operations on displayName, externalId, and members. Supports
both the standard form (op: add/remove on path: members) and
the Azure AD whole-list replace variant (op: replace, path:
members, value: [...]). Member removal by filter
(members[value eq "..."]) is supported per Okta's SCIM patterns.
Requires any one of
scim:group:write
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | required | BetterUp group UUID (matches the `id` returned at create time). |
Request body
| Parameter | Type | Required | Description |
|---|---|---|---|
| schemas | string[] | required | |
| Operations | object[] | required | |
| Operations[].op | string (enum) | required | Allowed values
|
| Operations[].path | string | optional | |
| Operations[].value | any | optional |
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:PatchOp"
],
"Operations": [
{
"op": "add",
"path": "<path>",
"value": {}
}
]
}Responses
| Status | Reason | Schema |
|---|---|---|
| 200 | OK | Group |
| 400 | Bad Request | ScimError |
| 401 | Unauthorized | ScimError |
| 403 | Forbidden | ScimError |
| 404 | Not Found | ScimError |
| 409 | Conflict | ScimError |
Response fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| schemas | string[] | required | SCIM schema URIs identifying the resource type. |
| id | string (uuid) | required | Server-assigned, immutable identifier for the group. Generated by BetterUp. |
| externalId | string | null | optional | Identifier assigned by the identity provider. Used by the IdP to correlate its own group identifier with the BetterUp group, and doubles as the idempotency key for POST within an organization. |
| displayName | string | required | Human-readable name for the group. Not required to be unique within an organization (RFC 7643 §4.2). |
| members | object[] | optional | SCIM-provisioned users belonging to this group. PUT and PATCH `replace` operations apply full-replace semantics; PATCH `add` and `remove` operations apply differentially. Every `value` must be the `id` of a SCIM-provisioned User in the same organization. UUIDs that do not resolve to a SCIM-linked user are rejected with 400 and the unresolved values are returned in the error envelope. |
| members[].value | string (uuid) | required | The `id` of a SCIM User in the same organization. |
| members[].display | string | optional | Human-readable label for the member (server-rendered). |
| members[].type | string (enum) | optional | Resource type of the member. Only `User` is supported — nested groups are not supported. Allowed values
|
| meta | object | optional | Resource metadata (RFC 7643 §3.1). |
| meta.resourceType | string | optional | |
| meta.created | string (date-time) | optional | |
| meta.lastModified | string (date-time) | optional | |
| meta.location | string | optional | URI of the resource being returned. |
curl -X PATCH "https://api.betterup.co/scim/v2/Groups/<id>" \
-H "Authorization: Bearer <access_token>" \
-H "Content-Type: application/scim+json" \
-d '{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:PatchOp"
],
"Operations": [
{
"op": "add",
"path": "<path>",
"value": {}
}
]
}'{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group"
],
"id": "<uuid>",
"externalId": "<externalId>",
"displayName": "<displayName>",
"members": [
{
"value": "<uuid>",
"display": "<display>",
"type": "User"
}
],
"meta": {
"resourceType": "Group",
"created": "<date-time>",
"lastModified": "<date-time>",
"location": "<location>"
}
}Delete group
Soft-discards the group and revokes any role bindings from its members (role bindings the user still receives from another SCIM source are preserved). The underlying user_group is also discarded; member users themselves are not deactivated.
Requires any one of
scim:group:write
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | required | BetterUp group UUID (matches the `id` returned at create time). |
Responses
| Status | Reason | Schema |
|---|---|---|
| 204 | No Content | No body |
| 401 | Unauthorized | ScimError |
| 403 | Forbidden | ScimError |
| 404 | Not Found | ScimError |
curl -X DELETE "https://api.betterup.co/scim/v2/Groups/<id>" \
-H "Authorization: Bearer <access_token>"