List an investor's groups (deprecated)
GET
/investors/{userId}/groupsReturns the user's group memberships (groups joined plus groups led).
This is a simple { "data": [...] } envelope — not cursor paginated.
Deprecated: withdrawn on 2027-06-30. GET /groups?filter[member_id]={userId} replaces it; every answer carries a Link header with rel="successor-version". This route keeps its old answer: id and name only, with the groups the user leads as well as the ones they belong to. It needs investors:read, where GET /groups needs groups:read.
Path parameters
The user's public guid.
Responses
200
OK
{
"data": [
{
"id": "2a7b9c10-3d4e-4f50-9a1b-2c3d4e5f6071",
"name": "Accredited Investors"
},
{
"id": "9f8e7d6c-5b4a-4039-8271-6e5d4c3b2a19",
"name": "UK Clients"
}
]
}403Error
Authorization failed. error.code is one of org_disabled,
ip_blocked, missing_scope, scope_disabled, user_disabled.
Examples
curl https://your-org-domain/kong/core/api/v2/investors/{userId}/groups\
-H "Authorization: Bearer $HELM_API_KEY"\
-H "Content-Type: application/json"