POST api/2.0/groups This function requires authentication

Description

Adds a new group with the group manager, name, and members specified in the request.

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

Newly created 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
    }
  }
}