GET groups/staff/…
Retrieves the list of groups a staff user is permitted to see or manage.
Resource URL
https://www.drillster.com/api/2.1.1/groups/staff/{user_id}
Parameters
Field | Type | Description |
---|---|---|
user_id required |
String | The user ID of the staff member to find the accessible groups for. |
query optional |
String | An optional query to filter by group name or description. If no query is given, all groups are returned. |
resultStart optional |
Integer | The index number (zero-based) of the user to include in the result. Use this parameter, in combination with resultSize , to apply pagination of the result; it will limit the number of users included in the result. Defaults to 0.Currently only multiples of ten are allowed. |
resultSize optional |
Integer | The maximum number of users to include in the result. If not specified, a fixed number of results is returned. Currently only a result size of 10 is supported. |
Response
A 2.1.1 Groups object, containing a paginated list of groups that the given user has administrative access to.