This endpoint is in preview and may be modified or removed at any time.
To use this endpoint, add preview=true to the request query parameters.
Returns all Groups which contain the current user as a direct or transitive member. For example if the current user is a member of Group A and Group A is a member of Group B, this endpoint will return Group A and Group B.
Unlike the list Group Memberships endpoint which requires the api:admin-read scope, this endpoint
does not require any particular scopes and can be used by any authenticated user to retrieve their own
group memberships.
booleanoptionalEnables the use of preview functionality.
objectlist<Group>optional1
2
3
curl \
\t-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/admin/groups/listCurrent?preview=true"1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"data": [
{
"name": "Data Source Admins",
"organizations": [
"ri.multipass..organization.c30ee6ad-b5e4-4afe-a74f-fe4a289f2faa"
],
"description": "Create and modify data sources in the platform",
"realm": "palantir-internal-realm",
"attributes": {
"multipass:realm": [
"eab0a251-ca1a-4a84-a482-200edfb8026f"
],
"multipass:organization-rid": [
"ri.multipass..organization.c30ee6ad-b5e4-4afe-a74f-fe4a289f2faa"
]
},
"id": "0d1fe74e-2b70-4a93-9b1a-80070637788b"
}
]
}| Error Name | ||
|---|---|---|
List | Error Code | PERMISSION_DENIED |
| Status Code | 403 | |
| Description | Could not listCurrent the Group. | |
| Parameters | | |
See Errors for a general overview of errors in the platform.