Sets a user with the ID specified in the request as a group manager.
Name | Description | Type | Example |
groupid
sent in url
|
Group ID | guid | 9924256A-739C-462b-AF15-E652A3B1B6EB |
UserId
sent in body
|
User ID | System.Guid |
PUT api/2.0/group/%229924256A-739C-462b-AF15-E652A3B1B6EB%22/manager Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "UserId": "9924256A-739C-462b-AF15-E652A3B1B6EB" }
Group with the following parameters
application/json
{ "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 } } }
text/xml
<result> <status>0</status> <response> <Description>some text</Description> <Name>some text</Name> <Category>9924256A-739C-462b-AF15-E652A3B1B6EB</Category> <Id>9924256A-739C-462b-AF15-E652A3B1B6EB</Id> <Manager> <Id>9924256A-739C-462b-AF15-E652A3B1B6EB</Id> <DisplayName>some text</DisplayName> <Title>some text</Title> <AvatarSmall>some text</AvatarSmall> <ProfileUrl>some text</ProfileUrl> <HasAvatar>True</HasAvatar> </Manager> </response> </result>