GET/organization/groups/{group_id}/users

List users in a group

Lists the users assigned to a group. Use after to continue from the last user's identifier in a previous response, and use limit and order to control the page size and sort order. The response indicates whether more users are available and provides the cursor for the next page.

4 parameters
group_idstringrequired
The identifier of the group whose users to list.
limitintegeroptional
Maximum number of users to return, from 0 to 1000. Defaults to 100 when omitted.
Default:100
afterstringoptional
Cursor for pagination; provide the identifier of the last user in the previous response to retrieve the next page.
orderstringoptional
Sort order for the users: `asc` or `desc`. Defaults to `desc` when omitted.
Allowed:ascdescDefault:desc

6 status codes
200Returns a paginated list of user objects, a `has_more` flag indicating whether additional users are available, and a `next` cursor that is null when there are no further users.
objectstringrequired
Always `list`.
Allowed:list
dataarray<object>required
Users in the current page.
has_morebooleanrequired
Whether more users are available when paginating.
nextstringrequired
Cursor to fetch the next page of results, or `null` when no further users are available.
400Returned when the request parameters are invalid or the requested operation cannot be performed.
errorobjectrequired
403Returned when the authenticated user does not have permission to perform the operation.
errorobjectrequired
Details about the permission error.
404Returned when the endpoint is unavailable or a requested group, user, or project is not found.
errorobjectrequired
429Returned when the request is rejected because a rate limit was exceeded.
errorobjectrequired
502Returned when the upstream group service returns an invalid pagination cursor.
errorobjectrequired

Error handling

A 400 is returned when the request parameters are invalid or the operation cannot be performed; a 403 when the authenticated user lacks permission; a 404 when the endpoint is unavailable or a requested group, user, or project is not found; a 429 when the rate limit is exceeded; and a 502 when the upstream group service rejects the pagination cursor. The group_id path parameter must identify the group to inspect. limit must be between 0 and 1000, and order must be asc or desc.