DELETE api/2.0/group/{groupid}
Deletes a group with the ID specified in the request from the list of groups on the portal.
Name |
Description |
Type |
Example |
groupid
sent in url
|
Group ID
|
guid
|
9924256A-739C-462b-AF15-E652A3B1B6EB
|
DELETE api/2.0/group/9924256A-739C-462b-AF15-E652A3B1B6EB
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
application/json
{
"status": 0,
"response": {
"id": "2f47e917-8cbf-4b7d-80f9-9af8f90e0c8a",
"name": "Sample group",
"category": "fde40542-1ab5-407a-b50a-5dac9fc267cc",
"parent": "e97737c9-0af2-4e4a-87cb-5c797e773eef",
"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>2f47e917-8cbf-4b7d-80f9-9af8f90e0c8a</id>
<name>Sample group</name>
<category>fde40542-1ab5-407a-b50a-5dac9fc267cc</category>
<parent>e97737c9-0af2-4e4a-87cb-5c797e773eef</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>