Get Started
Usage API
More information

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

Description

Deletes a group with the ID specified in the request from the list of groups on the portal.

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

Group

Example Response

application/json

{
  "status": 0,
  "response": {
    "id": "2f425d27-bbea-4009-82cd-3020a2500b59",
    "name": "Sample group",
    "category": "5b1b8c17-56ad-48ab-bd4a-c7cc0f7f761c",
    "parent": "d2570322-332c-4ded-a180-1a186a7b1d53",
    "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>2f425d27-bbea-4009-82cd-3020a2500b59</id>
    <name>Sample group</name>
    <category>5b1b8c17-56ad-48ab-bd4a-c7cc0f7f761c</category>
    <parent>d2570322-332c-4ded-a180-1a186a7b1d53</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>