Access
PreviewList groups
Groups such as leads or on-call that role bindings and rules can target.
GET
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
limit?integerPage size. Defaults to 50, at most 200.
Range
1 <= value <= 200Default
50cursor?stringOpaque cursor from a previous page's nextCursor.
teamId?stringA page of groups.
application/json- response
items*array<>nextCursor?stringcurl -X GET 'https://wardn.example.com/api/v1/groups'Example Response
{ "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "teamId": "string", "name": "string", "kind": "static", "memberUserIds": [ "string" ] } ], "nextCursor": "string"}