SCIM API
Developer Reference
REFERENCE

Schemas

Every named schema in the API, with its fields and an example.

Group

A SCIM 2.0 Group resource (RFC 7643 §4.2) representing a collection of BetterUp members provisioned through SCIM. Membership is the only SCIM-mutable surface; role bindings attached to a group are managed in the BetterUp admin UI, not through SCIM.

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
{
  "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>"
  }
}

ListResponse

SCIM 2.0 ListResponse envelope (RFC 7644 §3.4.2).

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
{
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:ListResponse"
  ],
  "totalResults": 0,
  "startIndex": 0,
  "itemsPerPage": 0,
  "Resources": [
    {}
  ]
}

ScimError

SCIM 2.0 error envelope (RFC 7644 §3.12). Returned for all non-2xx responses.

Fields

ParameterTypeRequiredDescription
schemasstring[]required
statusstringrequiredHTTP status code, expressed as a string.
scimTypestringoptionalSCIM detail error keyword for 400 / 409 responses (RFC 7644 §3.12 Table 9). Absent on other status codes.
detailstringoptionalHuman-readable explanation of the error.
Example
{
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:Error"
  ],
  "status": "404",
  "scimType": "uniqueness",
  "detail": "<detail>"
}

User

A SCIM 2.0 User resource (RFC 7643 §4.1) representing a BetterUp member provisioned through SCIM.

Fields

ParameterTypeRequiredDescription
schemasstring[]requiredSCIM schema URIs identifying the resource type.
idstring (uuid)requiredServer-assigned, immutable identifier for the user. Generated by BetterUp.
externalIdstring | nulloptionalIdentifier assigned by the identity provider. Used by the IdP to correlate its own user identifier with the BetterUp user.
userNamestring (email)requiredUnique identifier for the user. BetterUp uses the user's primary email address as the userName.
nameobjectoptionalThe components of the user's name.
name.givenNamestring | nulloptionalThe given (first) name of the user.
name.familyNamestring | nulloptionalThe family (last) name of the user.
emailsobject[]optionalEmail addresses for the user. The primary email is mirrored from `userName`; an optional `type=other` entry can carry an alternate address.
emails[].valuestring (email)optional
emails[].typestringoptional
emails[].primarybooleanoptional
activebooleanoptionalWhether the user is active. Setting this to `false` (via PATCH or PUT) soft-deactivates the user; setting it back to `true` reactivates the user. DELETE has the same soft-deactivation effect.
titlestring | nulloptionalThe user's job title.
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
{
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User"
  ],
  "id": "<uuid>",
  "externalId": "<externalId>",
  "userName": "jane.doe@example.com",
  "name": {
    "givenName": "<givenName>",
    "familyName": "<familyName>"
  },
  "emails": [
    {
      "value": "<email>",
      "type": "other",
      "primary": true
    }
  ],
  "active": true,
  "title": "<title>",
  "meta": {
    "resourceType": "User",
    "created": "<date-time>",
    "lastModified": "<date-time>",
    "location": "<location>"
  }
}