Groups
Last updated
Last updated
The groups
namespace provides API methods to retrieve all or specific user groups. This page covers the following API methods:
/groups
Returns all groups. Requires site admin access.
This method uses pagination so you might need to request additional pages to retrieve all groups.
This method supports the following expands so you can automatically include additional information for referenced objects:
users
200
400
401
403
422
(details)
/groups/{group_id}
Returns a single group. Requires site admin access.
This method supports the following expands so you can automatically include additional information for referenced objects:
users
200
400
401
403
404
422
(details)
page
integer
Number of page to return (default: first page)
per_page
integer
Maximum number of groups to return (supported: 15
, 25
, 50
, 100
; default: 100
)
expands
string
Comma-separated list of expands to return.
group_id
id
required
ID of the group to return.
expands
string
Comma-separated list of expands to return.