Get Started
Portal api methods
Help

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

Example Response

application/json

{
  "status": 0,
  "response": {
    "id": "752b7d6b-b7a4-4f1c-8a5b-c0b91336cf54",
    "name": "Sample group",
    "category": "e6aafe08-2c50-4f50-9268-6d92cc8d3df0",
    "parent": "b104ca2c-3b89-4966-8905-ce3fc096d87f",
    "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>752b7d6b-b7a4-4f1c-8a5b-c0b91336cf54</id>
    <name>Sample group</name>
    <category>e6aafe08-2c50-4f50-9268-6d92cc8d3df0</category>
    <parent>b104ca2c-3b89-4966-8905-ce3fc096d87f</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>