TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

PUT api/2.0/groups/{fromId}/members/{toId} 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
fromId
sent in url
Group ID to move from guid 9924256A-739C-462b-AF15-E652A3B1B6EB
toId
sent in url
Group ID to move to guid 9924256A-739C-462b-AF15-E652A3B1B6EB
Example
PUT api/2.0/groups/%229924256A-739C-462b-AF15-E652A3B1B6EB%22/members/%229924256A-739C-462b-AF15-E652A3B1B6EB%22
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Group with the detailed information

Example Response
{
  "status": 0,
  "response": {
    "Name": "some text",
    "Parent": "9924256A-739C-462b-AF15-E652A3B1B6EB",
    "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
    }
  }
}