Skip to content

List the provider's groups

GET
/Groups
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.

filter
string

An equality filter, for example userName eq "jo@example.com".

startIndex
integer
>= 1

1-based index of the first result to return; 1 when absent.

count
integer
<= 100

How many results to return at most, from 0 to 100; 100 when absent.

excludedAttributes
string

Attributes to leave out, separated by commas; only members is understood, others are ignored.

A page of matching groups.

Media typeapplication/scim+json
object
schemas
required
Array<string>
totalResults
required
integer
startIndex
integer
itemsPerPage
integer
Resources
required
Array<object>

A group of the token’s provider.

object
schemas
Array<string>
id
string format: uuid
externalId
string | null
displayName
string
members
Array<object>

A reference to another resource.

object
value
required

The referenced resource’s id.

string
display
string
$ref
string
meta
object
resourceType
string
created
string format: date-time
lastModified
string format: date-time
location
string

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).

Media typeapplication/scim+json
object
schemas
required
Array<string>
status
required
string
scimType
string
detail
string

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.

Media typeapplication/scim+json
object
schemas
required
Array<string>
status
required
string
scimType
string
detail
string

Example generated

{
"schemas": [
"example"
],
"status": "example",
"scimType": "example",
"detail": "example"
}
WWW-Authenticate
string