Get Started
Portal api methods
Help

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

Description

Removes the specified group users with all the rest current group users retained

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
DELETE 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": "90f5c28b-232f-4e25-be98-4921445adc66",
    "name": "Sample group",
    "category": "0a491869-e9f2-4f45-a11a-c3b76d535ff5",
    "parent": "1f7acc77-5d85-4ff0-a210-6ce3ef1ecf33",
    "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>90f5c28b-232f-4e25-be98-4921445adc66</id>
    <name>Sample group</name>
    <category>0a491869-e9f2-4f45-a11a-c3b76d535ff5</category>
    <parent>1f7acc77-5d85-4ff0-a210-6ce3ef1ecf33</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>