Skip to content
Docs
Qubitara Central

SCIM 2.0 provisioning

Updated Version 2CENTRAL-45

SCIM 2.0 uses the media type application/scim+json (per IETF RFC 7644 §3.1). PATCH request bodies MUST contain the schemas attribute with the URI value urn:ietf:params:scim:api:messages:2.0:PatchOp and an Operations array whose members each have exactly one op (add, remove or replace).

Outbound (Central → app)#

Central pushes users and groups to the app.

  • SCIM base URL (of the app): issued by the app, for example https://<app>/scim/v2/. Each application integration guide shows where to find it.

  • Bearer token: issued by the app; stored in Central's Provisioning config.

  • Supported resources and attributes: Users (userName, name.givenName, name.familyName, emails, active, externalId) and Groups (displayName, members) per RFC 7643.

  • Group push: assign a Central group to the app to push it as a SCIM Group.

  • Deprovisioning behaviour: on unassignment, suspension or deletion, Central issues PATCH active=false (soft) or DELETE (hard), depending on what the application supports. The per-application guides say which applies.

Inbound (HR or upstream IdP → Central)#

An upstream system pushes users into Central.

  • Central SCIM base URL: shown on the connection's Endpoints tab, in the form https://central.qubitara.com/api/v1/scim/v2/<connection-id>.

  • Central SCIM bearer token: generated on the connection's Connection tab and shown once.

Sample SCIM requests and responses#

Create a user: POST /Users#

bash
curl -X POST 'https://central.qubitara.com/scim/v2/<org>/Users' \
  -H 'Authorization: Bearer <SCIM_TOKEN>' \
  -H 'Content-Type: application/scim+json' \
  -d '{
    "schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"],
    "userName": "[email protected]",
    "externalId": "hr-8842",
    "name": { "givenName": "Barbara", "familyName": "Jensen" },
    "emails": [{ "value": "[email protected]", "primary": true }],
    "active": true
  }'

Response 201 Created:

json
{
  "schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"],
  "id": "2819c223-7f76-453a-919d-413861904646",
  "userName": "[email protected]",
  "active": true,
  "meta": {
    "resourceType": "User",
    "location": "https://central.qubitara.com/scim/v2/<org>/Users/2819c223-7f76-453a-919d-413861904646"
  }
}

Deactivate a user: PATCH /Users/{id}#

bash
curl -X PATCH 'https://central.qubitara.com/scim/v2/<org>/Users/2819c223-7f76-453a-919d-413861904646' \
  -H 'Authorization: Bearer <SCIM_TOKEN>' \
  -H 'Content-Type: application/scim+json' \
  -d '{
    "schemas": ["urn:ietf:params:scim:api:messages:2.0:PatchOp"],
    "Operations": [{ "op": "replace", "value": { "active": false } }]
  }'

Find a group: GET /Groups with a filter#

bash
curl -G 'https://central.qubitara.com/scim/v2/<org>/Groups' \
  -H 'Authorization: Bearer <SCIM_TOKEN>' \
  --data-urlencode 'filter=displayName eq "Engineering"'

Troubleshooting#

A SCIM sync failure is usually a bad token, a missing required attribute, or a multi-valued attribute the app rejects. Re-issue the bearer token, ensure userName and email are present and unique, send single-valued attributes, and inspect the application's Sync Logs tab or the job under Identity → Directory Sync. See SCIM sync errors and Troubleshooting and FAQ.