API ReferenceScim
Search across Users and Groups via POST (SCIM 2.0 §3.4.3)
POST
/v1/idp/scim/v2/.searchA root .search returns matching Users and Groups in one ListResponse.
Each resource type applies the filter independently (paths it can't resolve
simply contribute nothing); paging is applied to the merged result.
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
A SCIM query posted to .../.search (RFC 7644 §3.4.3) — the same params
as the GET list query, carried in the body for filters too long for a URL.
Response Body
application/json
curl -X POST "https://example.com/v1/idp/scim/v2/.search" \ -H "Content-Type: application/json" \ -d '{ "count": 50, "filter": "userName sw \\"j\\" and active eq true", "schemas": [ "urn:ietf:params:scim:api:messages:2.0:SearchRequest" ], "sortBy": "userName", "sortOrder": "ascending", "startIndex": 1 }'{ "schemas": [ "urn:ietf:params:scim:api:messages:2.0:ListResponse" ], "totalResults": 1, "startIndex": 1, "itemsPerPage": 1, "Resources": [ { "schemas": [ "urn:ietf:params:scim:schemas:core:2.0:User" ], "id": "2819c223-7f76-453a-919d-413861904646", "userName": "jdoe", "active": true, "externalId": "ext-8a1f", "displayName": "John Doe", "name": { "formatted": "John Doe" }, "emails": [ { "value": "jdoe@corp.com", "primary": true, "type": "work" } ], "meta": { "resourceType": "User", "created": "2026-06-10T22:05:00+00:00", "lastModified": "2026-06-10T22:05:00+00:00", "version": "W/\"a1b2c3d4e5f60718\"", "location": "https://acme.example.com/v1/idp/scim/v2/Users/2819c223-7f76-453a-919d-413861904646" } } ]}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}