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}'
Request
- Base URLhttps://console.jumpcloud.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
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
The number of records to return at once. Limited to 100.
The offset into the records to return.
The comma separated fields used to sort the collection. Default sort is ascending, prefix with - to sort descending.
Headers
Organization identifier that can be obtained from console settings.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.