Get Started
Usage API
More information

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

Description

Removes the group members specified in the request from the selected group.

Parameters
Name Description Type Example
groupid
sent in url
Group ID guid 9924256A-739C-462b-AF15-E652A3B1B6EB
members
sent in body
List of members 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

Group information

Example Response

application/json

{
  "status": 0,
  "response": {
    "id": "3821c789-a355-41e2-863c-2ee6d760f654",
    "name": "Sample group",
    "category": "172d30d7-06b4-4671-b658-32c50d901cab",
    "parent": "7c11f2a8-5e59-4d56-958f-e7f470c9bdfe",
    "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>3821c789-a355-41e2-863c-2ee6d760f654</id>
    <name>Sample group</name>
    <category>172d30d7-06b4-4671-b658-32c50d901cab</category>
    <parent>7c11f2a8-5e59-4d56-958f-e7f470c9bdfe</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>