List all groups in the user’s account (or all groups if superadmin).
cURL
curl --request GET \ --url https://api.example.com/api/v1/groups
[ { "name": "<string>", "id": "<string>", "account_id": "<string>", "account_code": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "description": "<string>", "member_count": 0 } ]
Successful Response
Group name
1 - 100
Group ID
Account ID (UUID)
Human-readable account code in XX#### format (e.g., AB1234)
Group description
500
Number of users in the group