PUT api/2.0/groups/{id}/manager This function requires authentication

Description

Sets a user with the ID specified in the request as a group manager.

Parameters
Name Description Type Example
id
sent in url
Group ID guid 9924256A-739C-462b-AF15-E652A3B1B6EB
UserId
sent in body
User ID guid 9924256A-739C-462b-AF15-E652A3B1B6EB
Example
PUT api/2.0/groups/%229924256A-739C-462b-AF15-E652A3B1B6EB%22/manager
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "UserId": "9924256A-739C-462b-AF15-E652A3B1B6EB"
}
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
    }
  }
}