Add One User to Multiple Groups

POST {{baseUrl}}/.api/api.svc/users/:userId/usergroups/add?groupids={{$randomUUID}}, {{$randomUUID}}, {{$randomUUID}}

This endpoint adds a member to the specified groups all at once.

Request Params

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

The group Id list in which the user will be added to. |

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,"requestSupportCode":637757981036689296,"dictionary":null,"response":{"__type":"IglooList:http://schemas.iglooplatform.com/Igloo.Old.Common","startIndex":0,"count":0,"totalCount":"0","items":[]}}