List the provider's groups
const url = 'https://example.com/scim/v2/Groups';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/scim/v2/Groups \ --header 'Authorization: Bearer <token>'filter compares attributes with eq, alone or joined by and:
displayName, externalId or id, each exactly; any other filter
is 400 invalidFilter. Paging as for /Users; groups are ordered by
displayName. excludedAttributes=members leaves the members out.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”An equality filter, for example userName eq "jo@example.com".
1-based index of the first result to return; 1 when absent.
How many results to return at most, from 0 to 100; 100 when absent.
Attributes to leave out, separated by commas; only members is understood, others are ignored.
Responses
Section titled “Responses”A page of matching groups.
object
A group of the token’s provider.
object
A reference to another resource.
object
The referenced resource’s id.
object
Example generated
{ "schemas": [ "example" ], "totalResults": 1, "startIndex": 1, "itemsPerPage": 1, "Resources": [ { "schemas": [ "example" ], "externalId": "example", "displayName": "example", "members": [ { "value": "example" } ], "meta": { "resourceType": "example", "created": "2026-04-15T12:00:00Z", "lastModified": "2026-04-15T12:00:00Z", "location": "example" } } ]}The body, the filter or a patch path is malformed (invalidFilter, invalidPath, or no scimType).
object
Example generated
{ "schemas": [ "example" ], "status": "example", "scimType": "example", "detail": "example"}No usable SCIM bearer: missing, not fn_scim_…, unknown, revoked,
expired or of a disabled provider, with WWW-Authenticate: Bearer
and no scimType (RFC 7644 defines none for it). A refused bearer counts against the
address’s throttle; an address over it is answered 429.
object
Example generated
{ "schemas": [ "example" ], "status": "example", "scimType": "example", "detail": "example"}