Get Started
Portal api methods
Help

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

Description

Add new group users keeping the current users and adding new ones

Parameters
Name Description Type Example
groupid
sent in url
Group ID guid 9924256A-739C-462b-AF15-E652A3B1B6EB
members
sent in body
User list Collection of guids
collection
9924256A-739C-462b-AF15-E652A3B1B6EB
Example
PUT api/2.0/group/9924256A-739C-462b-AF15-E652A3B1B6EB/members
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "members": [
    "00000000-0000-0000-0000-000000000000"
  ]
}
Returns

Example Response

application/json

{
  "status": 0,
  "response": {
    "id": "227a2f23-ac08-4136-af38-d885f3b66ede",
    "name": "Sample group",
    "category": "33de5212-2a9b-44e2-ae94-bb084e333b93",
    "parent": "0396cfcf-7504-474f-8886-4b2b82317eeb",
    "description": null,
    "manager": {
      "id": "00000000-0000-0000-0000-000000000000",
      "displayName": "Mike Zanyatski",
      "title": "Manager",
      "avatarSmall": "url to small avatar",
      "profileUrl": ""
    },
    "members": [
      {
        "id": "00000000-0000-0000-0000-000000000000",
        "displayName": "Mike Zanyatski",
        "title": "Manager",
        "avatarSmall": "url to small avatar",
        "profileUrl": ""
      }
    ]
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <id>227a2f23-ac08-4136-af38-d885f3b66ede</id>
    <name>Sample group</name>
    <category>33de5212-2a9b-44e2-ae94-bb084e333b93</category>
    <parent>0396cfcf-7504-474f-8886-4b2b82317eeb</parent>
    <description />
    <manager>
      <id>00000000-0000-0000-0000-000000000000</id>
      <displayName>Mike Zanyatski</displayName>
      <title>Manager</title>
      <avatarSmall>url to small avatar</avatarSmall>
      <profileUrl></profileUrl>
    </manager>
    <members>
      <id>00000000-0000-0000-0000-000000000000</id>
      <displayName>Mike Zanyatski</displayName>
      <title>Manager</title>
      <avatarSmall>url to small avatar</avatarSmall>
      <profileUrl></profileUrl>
    </members>
  </response>
</result>