User groups. Read only.
List groups
Returns the groups the caller may view, highest id first. A caller outside group 1 sees the groups that its own groups manage, when its group has the groups_view right and the managed group has rights to the current site; without any such group the list is empty. A member of group 1 sees every group that has rights to the current site. Deleted groups are never listed. A group_id[] filter that names a group the caller may not view returns 404. Only GET is supported: POST, PUT, PATCH and DELETE return 403.
query Parameters
limitThe number of items to return, 0 to 200. A value outside that range returns 400.
offsetThe number of items to skip. A negative value is treated as 0. Use the next and prev links of the response to page through a list.
group_id[]Return only these groups. Repeat the parameter for several ids, e.g. group_id[]=4&group_id[]=7; without the brackets the value is not an array and the request returns 400. A value that is not an integer returns 400; a group the caller may not view returns 404.
List groups › Responses
OK
hrefFirst page.
Previous page; the offset stops at 0.
Next page. On the last page the link wraps around to offset 0.