Get Started
API backend
API system
More information

POST api/2.0/group/{groupid}/members This function requires authentication

Description

Replaces the group members with those specified in the request.

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
POST 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"
}
Returns

Group with the following parameters

Example Response

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>