Get a list of groups a specific user belongs to

Retrieves a paginated list of groups that a specific user is a member of. This endpoint is a custom extension beyond the SCIM 2.0 protocol specification, introduced to address performance concerns with the standard SCIM group membership model which lacks pagination support. The results are paginated with 10 records per page by default, and you can use the startIndex and count query parameters to control pagination. Group resources returned follow the same format as the GET /scim/v2/Groups endpoint, including complete SCIM group attributes with core group fields, enterprise extensions, and Seismic-specific properties.

Pagination

This endpoint uses SCIM pagination semantics. For Seismic API compatibility: count maps to limit, startIndex maps to offset+1 (1-based). The response uses Resources array (equivalent to entries in Seismic standards).

Supported pagination parameters

ParameterDescriptionDefault
startIndexThe 1-based index of the first query result. A value less than 1 SHALL be interpreted as 1.1
countNon-negative integer. Specifies the desired maximum number of query results per page,

Pagination metadata

ElementDescription
ResourcesArray of group resources (equivalent to entries in Seismic pagination standards)
itemsPerPageNon-negative integer. Specifies the number of query results returned in a query response page
totalResultsNon-negative integer. Specifies the total number of results matching the client query
startIndexThe 1-based index of the first result in the current set of query results, e.g., 1.

Note: there's currently no support for sorting operators.

Path Params
string
required

The unique identifier (GUID) of the user for which to retrieve group memberships. This parameter is required and must be a valid GUID format. The user must exist in the tenant, otherwise a 404 Not Found error will be returned. The GUID can be obtained from the GET /scim/v2/Users endpoint or from user management operations.

Query Params
integer
≥ 1
Defaults to 1

The 1-based index of the first query result. A value less than 1 SHALL be interpreted as 1. Default value is 1. This parameter controls pagination by specifying where to start retrieving results from the complete list of user group memberships. For example, if you want to retrieve the second page of 10 results, set startIndex to 11.

integer
0 to 100
Defaults to 10

Non-negative integer specifying the desired maximum number of query results per page. A negative value SHALL be interpreted as 0. A value of 0 indicates that no resource results are to be returned except for totalResults. Default value is 10. This parameter allows you to control the page size for pagination, enabling you to retrieve more or fewer groups per request based on your application's needs and performance requirements.

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/scim+json