POST api/2.0/groups/{id}/members This function requires authentication

Description

Replaces the group members with those specified in the request.

Parameters
Name Description Type Example
id
sent in url
Group ID guid 9924256A-739C-462b-AF15-E652A3B1B6EB
Members
sent in body
List of group member IDs Collection of guids
collection
9924256A-739C-462b-AF15-E652A3B1B6EB
Example
POST api/2.0/groups/%229924256A-739C-462b-AF15-E652A3B1B6EB%22/members
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Group with the detailed information

Example Response
{
  "status": 0,
  "response": {
    "Name": "some text",
    "Parent": "9924256A-739C-462b-AF15-E652A3B1B6EB",
    "Category": "9924256A-739C-462b-AF15-E652A3B1B6EB",
    "Id": "9924256A-739C-462b-AF15-E652A3B1B6EB",
    "Manager": {
      "Id": "9924256A-739C-462b-AF15-E652A3B1B6EB",
      "DisplayName": "some text",
      "Title": "some text",
      "AvatarSmall": "some text",
      "ProfileUrl": "some text",
      "HasAvatar": true
    }
  }
}