DELETE api/2.0/group/{groupid}/members
Removes the specified group users with all the rest current group users retained
Name |
Description |
Type |
Example |
groupid
sent in url
|
Group ID
|
guid
|
9924256A-739C-462b-AF15-E652A3B1B6EB
|
members
sent in body
|
User list
|
Collection of guids
collection
|
9924256A-739C-462b-AF15-E652A3B1B6EB
|
DELETE api/2.0/group/9924256A-739C-462b-AF15-E652A3B1B6EB/members
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"members": [
"00000000-0000-0000-0000-000000000000"
]
}
This method doesn't return any data.
application/json
{
"status": 0,
"response": {
"id": "a9a8b9e5-aa0f-4b97-b9df-a7c3036df990",
"name": "Sample group",
"category": "ede7c6dd-8aed-46ef-b4a7-8250049f3d13",
"parent": "94ea336f-2738-4f86-8a78-99a1628a8fc9",
"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>a9a8b9e5-aa0f-4b97-b9df-a7c3036df990</id>
<name>Sample group</name>
<category>ede7c6dd-8aed-46ef-b4a7-8250049f3d13</category>
<parent>94ea336f-2738-4f86-8a78-99a1628a8fc9</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>