SCIM 2.0 API Reference (RFC 7643 / 7644)
ImpulseWatch implements a native, zero-dependency SCIM 2.0 provisioning server at https://api.impulsewatch.io/scim/v2 engineered for Okta, Microsoft Entra ID, JumpCloud, OneLogin, and custom directory sync clients.
Base URL, Media Type & Authentication
- Base URL:
https://api.impulsewatch.io/scim/v2 - Authentication: Dedicated SCIM bearer tokens prefixed with
iw_scim_*generated under People → SSO & SCIM → Step 3 (up to 2 active tokens simultaneously for zero-downtime rotation). - Content-Type: Responses emit
application/scim+json(bothapplication/scim+jsonandapplication/jsonare accepted on requests).
Discovery Endpoints
| Endpoint | Purpose |
|---|---|
GET /scim/v2/ServiceProviderConfig | Advertises patch.supported: true, filter.supported: true, bulk.supported: false, and oauthbearertoken auth. |
GET /scim/v2/ResourceTypes | Returns User and Group resource type descriptors. |
GET /scim/v2/Schemas | Returns standard RFC 7643 User and Group attribute schemas. |
curl -fsS https://api.impulsewatch.io/scim/v2/ServiceProviderConfig \
-H "Authorization: Bearer iw_scim_your_scim_token" \
-H "Accept: application/scim+json"
Users & Groups CRUD
| Method & Path | Behavior |
|---|---|
GET /scim/v2/Users | Paginated ListResponse (startIndex, count, optional filter). |
POST /scim/v2/Users | Provisions a new org user (returns 201 Created or 409 Conflict if userName already exists). |
GET|PUT|PATCH|DELETE /scim/v2/Users/{id} | Reads, replaces, patches attributes/active, or removes a provisioned user. |
GET /scim/v2/Groups | Lists SCIM-managed Teams with members and displayName. |
POST /scim/v2/Groups | Creates a SCIM Managed Team synced 1:1 into People → Teams and Escalation Ladders. |
GET|PUT|PATCH|DELETE /scim/v2/Groups/{id} | Updates group name/memberships and immediately recalculates RBAC roles for affected users. |
Supported filter Grammar
ImpulseWatch supports RFC 7644 equality filtering on primary directory keys (case-insensitive for userName and displayName):
# Look up a user by userName (email)
curl -fsS -G "https://api.impulsewatch.io/scim/v2/Users" \
--data-urlencode 'filter=userName eq "alex@acme.com"' \
-H "Authorization: Bearer iw_scim_your_scim_token"
# Look up a group by displayName
curl -fsS -G "https://api.impulsewatch.io/scim/v2/Groups" \
--data-urlencode 'filter=displayName eq "OnCall-SRE"' \
-H "Authorization: Bearer iw_scim_your_scim_token"
RFC 7644 PatchOp (Including Okta & Entra Quirks)
Enterprise IdPs send noticeably different PatchOp shapes. ImpulseWatch handles all of them cleanly:
- Pathless object patches (Okta):
{"op": "replace", "value": {"active": false}} - Dotted & value-path filters (Microsoft Entra ID):
"path": "emails[type eq \"work\"].value"and"path": "members[value eq \"usr_123\"]" - Case-insensitive operation verbs: Accepts
Add/add,Replace/replace, andRemove/remove.
curl -fsS -X PATCH https://api.impulsewatch.io/scim/v2/Users/usr_01JFQ8K2M3 \
-H "Authorization: Bearer iw_scim_your_scim_token" \
-H "Content-Type: application/scim+json" \
-d '{
"schemas": ["urn:ietf:params:scim:api:messages:2.0:PatchOp"],
"Operations": [
{ "op": "replace", "path": "active", "value": false }
]
}'
Instant Session Revocation & Team Synchronization
Setting active: false on a user—or deleting the user—immediately writes to ImpulseWatch's control-plane SessionRevocationCache, invalidating active console JWTs within seconds and recording an access audit event. Updating SCIM Group membership immediately updates the corresponding SCIM Managed Team and recalculates each member's highest-privilege RBAC role.