Get Started
Usage API
More information

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

Description

Deletes the selected group 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

This method doesn't return any data.

Example Response

application/json

{
  "status": 0,
  "response": {
    "id": "98d37b11-22ee-4a92-b8cc-a857faac518c",
    "name": "Sample group",
    "category": "a223d880-0d9c-4e08-9601-ed578df3cba3",
    "parent": "5082fdcb-808e-4171-96d2-8340ad3d9ca7",
    "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>98d37b11-22ee-4a92-b8cc-a857faac518c</id>
    <name>Sample group</name>
    <category>a223d880-0d9c-4e08-9601-ed578df3cba3</category>
    <parent>5082fdcb-808e-4171-96d2-8340ad3d9ca7</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>