API ReferenceScim
Search groups via POST (SCIM 2.0 §3.4.3)
POST
/v1/idp/scim/v2/Groups/.searchAuthorization
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/Groups/.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:Group" ], "id": "e9e30dba-f08f-4109-8486-d5c6a331660a", "displayName": "Engineering", "externalId": "grp-eng-01", "members": [ { "value": "2819c223-7f76-453a-919d-413861904646", "$ref (member)": "https://acme.example.com/v1/idp/scim/v2/Users/2819c223-7f76-453a-919d-413861904646" } ], "meta": { "resourceType": "Group", "location": "https://acme.example.com/v1/idp/scim/v2/Groups/e9e30dba-f08f-4109-8486-d5c6a331660a" } } ]}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}