List account groups
GET/:workspace/account-groups
Returns every account group in the workspace, oldest first, each with the ids of its accounts. This endpoint is not paginated and accepts no query parameters. Every workspace role can call it, including VIEWER.
Request
Responses
- 200
- 401
- 403
- 404
A list of account groups.
The bearer token is missing, malformed, unknown, or expired.
The token is valid, but the user it belongs to may not perform this action:
- they are not a member of the
{workspace}in the path; or - their workspace role is too low for this endpoint (write routes require Admin or Member); or
- for
/panelendpoints, they are not a platform administrator.
The {workspace} UUID in the path does not match any workspace.