Page optimized for desktop experience. Please use a desktop browser for best compatibility.

List All User IDS Within a Specific Group

Returns the UserIDs for those User accounts that are members of a specified Group.

GET
/api/v2/search/groups/{groupId}/users

Path Parameters

Parameter Type Validations
groupId string, required Group ID to return User IDs of group members.

Body Parameters

Parameter Type Validations
scrollId string, optional

The scrollId returned in the first search request. This can be passed in subsequent fetch requests for the next set of results. This is forward only and you cannot get back the search results that are scrolled once.

Note: There is a 60 second expiration on this parameter that is renewed each time it is used.  If not used within 60 seconds of the first call, it expires.

Response Body

Successful response

{
"userIds": [
"91c247a0-59d8-4f02-a912-33327q2a8765",
"461274d9-e3bd-4fd6-9c56-b7eq76a1c541",
"dc7218d3-b765-4470-a460-39588c5qf855",
"3ba205d4-3185-4c23-ba9e-73q45d945378",
"df4254f2-7a7b-4558-92b1-e7173dc2qdd9",
"8b6237c0-d6a6-4562-889d-e8024ffqe002",
"0562db22-d2b0-4602-ae04-b6cd79d7q311",
"3b7249e9-c286-4315-bda5-fcff279q86ac",
"4d22911e-80ad-496c-ba54-0986bf39qaf5"
],
"totalUsers": 9,
"scrollId": "DXF1ZXJ5QW5kRmV0Y2gBAAAAAAABLT8WY2RVZG5KNnpUcm1aNzRVQlJ0aENQUQ=="
}

Unauthorized error

ScrollId expired

Internal server error