Get Started
Usage API
More information

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

Description

Moves all the members from the selected group to another one specified in the request.

Parameters
Name Description Type Example
groupid
sent in url
Group ID to move from guid 9924256A-739C-462b-AF15-E652A3B1B6EB
newgroupid
sent in url
Group ID to move to guid 9924256A-739C-462b-AF15-E652A3B1B6EB
Example
PUT api/2.0/group/9924256A-739C-462b-AF15-E652A3B1B6EB/members/9924256A-739C-462b-AF15-E652A3B1B6EB
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

New group information

Example Response

application/json

{
  "status": 0,
  "response": {
    "id": "14c5e001-1cf3-4af0-a4ce-6c3bd96afcbd",
    "name": "Sample group",
    "category": "0b6ebef9-178c-47bd-a77e-1a5bbc4abdc0",
    "parent": "52e67cb6-39fd-4b36-82ed-b01c3e493b50",
    "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>14c5e001-1cf3-4af0-a4ce-6c3bd96afcbd</id>
    <name>Sample group</name>
    <category>0b6ebef9-178c-47bd-a77e-1a5bbc4abdc0</category>
    <parent>52e67cb6-39fd-4b36-82ed-b01c3e493b50</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>