Graph
Users

List the parent Groups of a 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}'
get/users/{user_id}/memberof

Request

Query parameters

filterstring[]

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.

Valid filter fields: object_id and type.

EX: GET /api/v2/users/{UserID}/memberof?filter=type:eq:user_group

limitinteger

The number of records to return at once. Limited to 100.

skipinteger

The offset into the records to return.

sortstring[]

The comma separated fields used to sort the collection. Default sort is ascending, prefix with - to sort descending.

Headers

x-org-idstring

Organization identifier that can be obtained from console settings.

Response

OK

compiledAttributesGraphAttributes nullable

The graph attributes.

idstring required

Object ID of this graph object.

type'active_directory' | 'agent' | 'agent_group' | 'application' | 'command' | 'g_suite' | 'idp_routing_policy' | 'ldap_server' | 'office_365' | 'policy' | 'policy_group' | 'radius_server' | 'password_manager_item' | 'system' | 'system_group' | 'user' | 'user_group' required

A graph object type.

externalIdstring

The external resource ID that is being synced. Only present when syncStatus query parameter is true.

Changes

No recorded changes to this operation across all 1 revision of this API.