Group memberships
List members of group
Changed onRetrieves all the members for a group. Only members of this group or users with admin-level permissions will be able to use this API.
get/groups/{group_id}/memberships
Request
- Base URLhttps://api.box.com/2.0
- URLhttps://api.box.com/2.0/groups/{group_id}/memberships
- AuthOAuth 2Authorization code: https://account.box.com/api/oauth2/authorizeToken URL: https://api.box.com/oauth2/token
Path parameters
group_idstring required
The ID of the group.
Query parameters
limitinteger
The maximum number of items to return per page.
offsetinteger
The offset of the item at which to begin the response.
Queries with offset parameter value exceeding 10000 will be rejected with a 400 response.
Response
Returns a collection of membership objects. If there are no memberships, an empty collection will be returned.
Example response
{
"total_count": 5000,
"limit": 1000,
"offset": 2000,
"order": [
{
"by": "type",
"direction": "ASC"
}
],
"entries": [
{
"id": "11446498",
"type": "group_membership",
"user": {
"id": "11446498",
"type": "user",
"name": "Aaron Levie",
"login": "ceo@example.com"
},
"group": {
"id": "11446498",
"type": "group",
"name": "Support",
"group_type": "managed_group"
},
"role": "member",
"created_at": "2012-12-12T10:53:43-08:00",
"modified_at": "2012-12-12T10:53:43-08:00"
}
]
}Changes
- warning
added the new
unprocessable_entityenum value to theresponse property for the response status - info
added
subschema #1subschema #2to the response bodyallOflist for the response status - info
removed
subschema #1subschema #2from the response bodyallOflist for the response status
- warning