SCIM: understand the user and group API and verify an integration
Learn what SCIM standardizes, how its JSON resources and HTTP operations fit together, and how to test synchronization without confusing it with access policy.
SCIM: understand the user and group API and verify an integration
SCIM (System for Cross-domain Identity Management) standardizes JSON representations for identity resources and an HTTP protocol for exchanging them across domains. An organization can use it to create and update accounts or groups in another service. SCIM standardizes data and API behavior; it does not decide who is entitled to access or what a group means inside an application.
Schema and protocol are separate
RFC 7643 defines the core schema, including User, Group, attributes and extensions. RFC 7644 defines HTTP operations, queries, responses and errors. The service provider assigns a stable, non-reassignable id; the provisioning client must not set it. A client may set externalId in its own identifier namespace. Do not use a changeable email as an assumed permanent key. A Group can carry membership, but mapping a group to an application role is a separate policy.
What the HTTP operation changes
POST creates a resource (and can carry a search request); GET retrieves or queries; PUT replaces a resource representation; PATCH changes selected attributes; DELETE requests removal. With PUT, omitted writable attributes may be cleared or defaulted by the provider, so check its behavior. A successful SCIM DELETE does not prove physical erasure: the provider may retain data, but must treat the resource as deleted for later operations and omit it from future queries. Check the product's retention and access-revocation behavior separately.
Discover support and test end to end
Before sending data, read the target product's SCIM guide and retrieve /ServiceProviderConfig, /ResourceTypes and /Schemas when available. These describe supported features, resource endpoints and schema characteristics. Features such as filtering, bulk operations and pagination can vary by provider; do not infer support from the SCIM label alone.
Agree on the SCIM version, base URL, authentication, required attributes and supported User/Group features.
Assign a source of truth and update owner for each field and group membership to prevent competing systems overwriting each other.
In a test tenant, create one test user, save the returned `id`, change an attribute, and add/remove a group. Read the resource back and inspect the target application's actual role.
Test deactivation and deletion separately. After a timeout, read the current resource before retrying because the first request may already have applied.
Reconcile approved source state with target accounts and groups. Record resource IDs, status, retries and manual exceptions while minimizing personal data.
An HTTP success code alone is not completion: verify login behavior, changed attributes, effective group permissions, and access after deactivation. If a wrong group grants broad access, pause the sync, remove the effective permission in the target, correct the mapping, and reconcile against the approved source.
Optional newer capabilities
RFC 9865 (October 2025) adds cursor-based pagination alongside the index-based method in RFC 7644. Inspect /ServiceProviderConfig and follow nextCursor when returned; missing published page-size or cursor-lifetime values do not mean there are no limits. RFC 9967 (May 2026) defines an optional SCIM Security Event Token profile for events and asynchronous exchange. It is not a baseline feature every server provides, and receivers should treat an event as information about a change, not as an unconditional command.
Sources
[RFC 7643: SCIM Core Schema](https://www.rfc-editor.org/rfc/rfc7643.html)
[RFC 7644: SCIM Protocol](https://www.rfc-editor.org/rfc/rfc7644.html)
[RFC 9865: Cursor-Based Pagination of SCIM Resources](https://www.rfc-editor.org/rfc/rfc9865.html)
[RFC 9967: SCIM Profile for Security Event Tokens](https://www.rfc-editor.org/rfc/rfc9967.html)