PUT api/2.0/group/{groupid} This function requires authentication

Description

Updates the existing group changing the group manager, name, and/or members.

Parameters
Name Description Type Example
groupid
sent in url
Group ID guid 9924256A-739C-462b-AF15-E652A3B1B6EB
GroupManager
sent in body
Group manager ID System.Guid
GroupName
sent in body
Group name System.String
Members
sent in body
List of group member IDs System.Collections.Generic.IEnumerable{System.Guid}
Example
PUT api/2.0/group/%229924256A-739C-462b-AF15-E652A3B1B6EB%22
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "GroupManager": "9924256A-739C-462b-AF15-E652A3B1B6EB",
  "GroupName": "some text"
}
Returns

Updated group with the following parameters

Example Response
{
  "status": 0,
  "response": {
    "Description": "some text",
    "Name": "some text",
    "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
    }
  }
}