Retrieve group memberships for one user

POST {{baseUrl}}.api/api.svc/apisync/view_usergroups?userIds={{$randomUUID}}, {{$randomUUID}}, {{$randomUUID}}

This endpoint returns the group IDs of any groups that the specified user is a member of.

Request Params

| Key | Datatype | Required | Description | | userIds | string | | (Required) - GUID

The Igloo object ID for at least one existing user. To return group Ids for multiple users, separate mutliple GUIDs with commas in this parameter. |

HEADERS

| Key | Datatype | Required | Description | | Accept | string | | The type of response data to request. By default this endpoint will respond with XML.

The options are:

  • application/json
  • application/xml |

RESPONSES

status: OK

{"minRequestPeriod":0,"dictionary":[{"Key":"{{$randomUUID}}","Value":["{{$randomUUID}}","{{$randomUUID}}","{{$randomUUID}}"]},{"Key":"{{$randomUUID}}","Value":["{{$randomUUID}}","{{$randomUUID}}"]},{"Key":"{{$randomUUID}}","Value":["{{$randomUUID}}","{{$randomUUID}}","{{$randomUUID}}","{{$randomUUID}}"]}],"response":null}