List User Groups By User
This endpoint returns all the User Groups a User is a member of.
Sample Request
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}'
Basic Parameters
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. |
Advanced Parameters
Parameter | Description |
---|---|
Organization ID | Organization identifier that can be obtained from console settings. |
Example Output
[
{
"compiledAttributes": {},
"id": "string",
"paths": [
[
{
"attributes": {},
"from": {
"attributes": {},
"id": "string",
"type": "string"
},
"to": {
"attributes": {},
"id": "string",
"type": "string"
}
}
]
],
"type": "active_directory"
}
]
Workflow Library Example
List User Groups by User with Jumpcloud and Send Results Via Email
Preview this Workflow on desktop