Actions
List User Groups By User
This endpoint returns all the User Groups a User is a member of.

Preview this Workflow on desktop
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X GET https://console.jumpcloud.com/api/v2/users/{UserID}/memberof \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: {API_KEY}'
| Parameter | Description |
|---|---|
| Filter | A filter to apply to the query. Filter structure: <field>:<operator>:<value>.field = Populate with a valid field from an endpoint response. operator = Supported operators are: eq, ne, gt, ge, lt, le, between, search, in. Note: v1 operators differ from v2 operators. value = Populate with the value you want to search for. Is case sensitive. Supports wild cards. EX: GET /api/v2/groups?filter=name:eq:Test+Group. |
| Limit | The number of records to return at once. Limited to 100. |
| Skip | The offset into the records to return. |
| Sort | The comma separated fields used to sort the collection. Default sort is ascending, prefix with - to sort descending. |
| User ID | ObjectID of the User. |
| Parameter | Description |
|---|---|
| Organization ID | Organization identifier that can be obtained from console settings. |
[
{
"id": "<string>",
"type": "<string>",
"compiledAttributes": {
"lGroups": [
{
"name": "<string>"
}
]
},
"paths": [
[
{
"attributes": null,
"to": {
"attributes": {
"ldapGroups": [
{
"name": "<string>"
}
]
},
"id": "<string>",
"type": "<string>"
}
}
]
]
}
]
Was this page helpful?