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": "606476c3-8792-4f98-b6ea-e361060bbb7d",
    "name": "Sample group",
    "category": "1cbbf5d4-98b7-419f-a735-cad2d90d957f",
    "parent": "fbcb6fd9-e05d-4c7a-80ef-233281f7d96c",
    "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>606476c3-8792-4f98-b6ea-e361060bbb7d</id>
    <name>Sample group</name>
    <category>1cbbf5d4-98b7-419f-a735-cad2d90d957f</category>
    <parent>fbcb6fd9-e05d-4c7a-80ef-233281f7d96c</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>