PUT api/2.0/group/{groupid}/members
Adds new group members to the group with the ID specified in the request.
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}
|
|
PUT api/2.0/group/%229924256A-739C-462b-AF15-E652A3B1B6EB%22/members
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"GroupManager": "9924256A-739C-462b-AF15-E652A3B1B6EB",
"GroupName": "some text"
}
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"
}
}
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>
</response>
</result>