SCIM API
Developer Reference
API REFERENCE

Groups

Create, read, update and delete the groups your identity provider provisions.

GET /scim/v2/Groups

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

ParameterTypeRequiredDescription
filterstringoptionalSCIM filter expression. Supports `id`, `externalId`, and `displayName`.
startIndexintegeroptional1-based index of the first result to return.
countintegeroptionalMaximum number of results to return in this page.

Responses

StatusReasonSchema
200OKListResponse
400Bad RequestScimError
401UnauthorizedScimError
403ForbiddenScimError

Response fields

ParameterTypeRequiredDescription
schemasstring[]required
totalResultsintegerrequiredTotal number of resources matching the filter, across all pages.
startIndexintegeroptional1-based index of the first result in this page.
itemsPerPageintegeroptionalNumber of resources returned in this page.
Resourcesany[]requiredSCIM 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.
Example request
curl -X GET "https://api.betterup.co/scim/v2/Groups" \
  -H "Authorization: Bearer <access_token>"
Example response
{
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:ListResponse"
  ],
  "totalResults": 0,
  "startIndex": 0,
  "itemsPerPage": 0,
  "Resources": [
    {}
  ]
}
POST /scim/v2/Groups

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

ParameterTypeRequiredDescription
schemasstring[]requiredSCIM schema URIs identifying the resource type.
idstring (uuid)requiredServer-assigned, immutable identifier for the group. Generated by BetterUp.
externalIdstring | nulloptionalIdentifier 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.
displayNamestringrequiredHuman-readable name for the group. Not required to be unique within an organization (RFC 7643 §4.2).
membersobject[]optionalSCIM-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[].valuestring (uuid)requiredThe `id` of a SCIM User in the same organization.
members[].displaystringoptionalHuman-readable label for the member (server-rendered).
members[].typestring (enum)optionalResource type of the member. Only `User` is supported — nested groups are not supported.
Allowed values
  • User
metaobjectoptionalResource metadata (RFC 7643 §3.1).
meta.resourceTypestringoptional
meta.createdstring (date-time)optional
meta.lastModifiedstring (date-time)optional
meta.locationstringoptionalURI of the resource being returned.
Example request body
{
  "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

StatusReasonSchema
200OKGroup
201CreatedGroup
400Bad RequestScimError
401UnauthorizedScimError
403ForbiddenScimError

Response fields

ParameterTypeRequiredDescription
schemasstring[]requiredSCIM schema URIs identifying the resource type.
idstring (uuid)requiredServer-assigned, immutable identifier for the group. Generated by BetterUp.
externalIdstring | nulloptionalIdentifier 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.
displayNamestringrequiredHuman-readable name for the group. Not required to be unique within an organization (RFC 7643 §4.2).
membersobject[]optionalSCIM-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[].valuestring (uuid)requiredThe `id` of a SCIM User in the same organization.
members[].displaystringoptionalHuman-readable label for the member (server-rendered).
members[].typestring (enum)optionalResource type of the member. Only `User` is supported — nested groups are not supported.
Allowed values
  • User
metaobjectoptionalResource metadata (RFC 7643 §3.1).
meta.resourceTypestringoptional
meta.createdstring (date-time)optional
meta.lastModifiedstring (date-time)optional
meta.locationstringoptionalURI of the resource being returned.
Example request
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>"
  }
}'
Example response
{
  "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>"
  }
}
GET /scim/v2/Groups/{id}

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

ParameterTypeRequiredDescription
idstring (uuid)requiredBetterUp group UUID (matches the `id` returned at create time).

Responses

StatusReasonSchema
200OKGroup
401UnauthorizedScimError
403ForbiddenScimError
404Not FoundScimError

Response fields

ParameterTypeRequiredDescription
schemasstring[]requiredSCIM schema URIs identifying the resource type.
idstring (uuid)requiredServer-assigned, immutable identifier for the group. Generated by BetterUp.
externalIdstring | nulloptionalIdentifier 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.
displayNamestringrequiredHuman-readable name for the group. Not required to be unique within an organization (RFC 7643 §4.2).
membersobject[]optionalSCIM-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[].valuestring (uuid)requiredThe `id` of a SCIM User in the same organization.
members[].displaystringoptionalHuman-readable label for the member (server-rendered).
members[].typestring (enum)optionalResource type of the member. Only `User` is supported — nested groups are not supported.
Allowed values
  • User
metaobjectoptionalResource metadata (RFC 7643 §3.1).
meta.resourceTypestringoptional
meta.createdstring (date-time)optional
meta.lastModifiedstring (date-time)optional
meta.locationstringoptionalURI of the resource being returned.
Example request
curl -X GET "https://api.betterup.co/scim/v2/Groups/<id>" \
  -H "Authorization: Bearer <access_token>"
Example response
{
  "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>"
  }
}
PUT /scim/v2/Groups/{id}

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

ParameterTypeRequiredDescription
idstring (uuid)requiredBetterUp group UUID (matches the `id` returned at create time).

Request body

ParameterTypeRequiredDescription
schemasstring[]requiredSCIM schema URIs identifying the resource type.
idstring (uuid)requiredServer-assigned, immutable identifier for the group. Generated by BetterUp.
externalIdstring | nulloptionalIdentifier 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.
displayNamestringrequiredHuman-readable name for the group. Not required to be unique within an organization (RFC 7643 §4.2).
membersobject[]optionalSCIM-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[].valuestring (uuid)requiredThe `id` of a SCIM User in the same organization.
members[].displaystringoptionalHuman-readable label for the member (server-rendered).
members[].typestring (enum)optionalResource type of the member. Only `User` is supported — nested groups are not supported.
Allowed values
  • User
metaobjectoptionalResource metadata (RFC 7643 §3.1).
meta.resourceTypestringoptional
meta.createdstring (date-time)optional
meta.lastModifiedstring (date-time)optional
meta.locationstringoptionalURI of the resource being returned.
Example request body
{
  "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

StatusReasonSchema
200OKGroup
400Bad RequestScimError
401UnauthorizedScimError
403ForbiddenScimError
404Not FoundScimError
409ConflictScimError

Response fields

ParameterTypeRequiredDescription
schemasstring[]requiredSCIM schema URIs identifying the resource type.
idstring (uuid)requiredServer-assigned, immutable identifier for the group. Generated by BetterUp.
externalIdstring | nulloptionalIdentifier 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.
displayNamestringrequiredHuman-readable name for the group. Not required to be unique within an organization (RFC 7643 §4.2).
membersobject[]optionalSCIM-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[].valuestring (uuid)requiredThe `id` of a SCIM User in the same organization.
members[].displaystringoptionalHuman-readable label for the member (server-rendered).
members[].typestring (enum)optionalResource type of the member. Only `User` is supported — nested groups are not supported.
Allowed values
  • User
metaobjectoptionalResource metadata (RFC 7643 §3.1).
meta.resourceTypestringoptional
meta.createdstring (date-time)optional
meta.lastModifiedstring (date-time)optional
meta.locationstringoptionalURI of the resource being returned.
Example request
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>"
  }
}'
Example response
{
  "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>"
  }
}
PATCH /scim/v2/Groups/{id}

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

ParameterTypeRequiredDescription
idstring (uuid)requiredBetterUp group UUID (matches the `id` returned at create time).

Request body

ParameterTypeRequiredDescription
schemasstring[]required
Operationsobject[]required
Operations[].opstring (enum)required
Allowed values
  • add
  • replace
  • remove
Operations[].pathstringoptional
Operations[].valueanyoptional
Example request body
{
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:PatchOp"
  ],
  "Operations": [
    {
      "op": "add",
      "path": "<path>",
      "value": {}
    }
  ]
}

Responses

StatusReasonSchema
200OKGroup
400Bad RequestScimError
401UnauthorizedScimError
403ForbiddenScimError
404Not FoundScimError
409ConflictScimError

Response fields

ParameterTypeRequiredDescription
schemasstring[]requiredSCIM schema URIs identifying the resource type.
idstring (uuid)requiredServer-assigned, immutable identifier for the group. Generated by BetterUp.
externalIdstring | nulloptionalIdentifier 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.
displayNamestringrequiredHuman-readable name for the group. Not required to be unique within an organization (RFC 7643 §4.2).
membersobject[]optionalSCIM-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[].valuestring (uuid)requiredThe `id` of a SCIM User in the same organization.
members[].displaystringoptionalHuman-readable label for the member (server-rendered).
members[].typestring (enum)optionalResource type of the member. Only `User` is supported — nested groups are not supported.
Allowed values
  • User
metaobjectoptionalResource metadata (RFC 7643 §3.1).
meta.resourceTypestringoptional
meta.createdstring (date-time)optional
meta.lastModifiedstring (date-time)optional
meta.locationstringoptionalURI of the resource being returned.
Example request
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": {}
    }
  ]
}'
Example response
{
  "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 /scim/v2/Groups/{id}

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

ParameterTypeRequiredDescription
idstring (uuid)requiredBetterUp group UUID (matches the `id` returned at create time).

Responses

StatusReasonSchema
204No ContentNo body
401UnauthorizedScimError
403ForbiddenScimError
404Not FoundScimError
Example request
curl -X DELETE "https://api.betterup.co/scim/v2/Groups/<id>" \
  -H "Authorization: Bearer <access_token>"