List the assignable user groups.
List the assignable user groups of the calling key's tenant. This is where the
membership operations get their userGroupId, and how an integration maps a team name
from its own systems onto the group that represents it in Galilea.
Only team groups are listed, which makes this list exactly the set of groups the membership operations accept. Galilea maintains two other kinds of group that this API neither returns nor assigns: every tenant has one group of all its users, and every user has a personal group of their own. Both are answered with 404 by the membership operations.
A team that has no group here yet gets one with POST /user-groups; a group that a
customer's own systems no longer have is retired with
DELETE /user-groups/{userGroupId}.
Requires the right to list groups.
apiKeyX-API-Key<token>API key issued in the Galilea settings.
limit?integerNumber of groups per page.
100offset?integerIndex of the first group of the page.
0The user group list.
application/json- response
count*integerTotal number of groups matching the filter.
next?|URL of the next page, or null on the last one.
previous?|URL of the previous page, or null on the first one.
results*array<>curl -X GET "https://example.com/user-groups"{ "count": 0, "next": "string", "previous": "string", "results": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "Legal", "type": "team", "numberOfMembers": 12 } ]}