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"
]
}
application/json
{
"status": 0,
"response": {
"id": "ba293049-1bcf-4cb4-8c92-94a0c49aecd7",
"name": "Sample group",
"category": "1b92c292-8fa1-45a1-a791-551c89bddf4d",
"parent": "5ad46ac4-1b82-499a-b71e-c8bc7f22d2fa",
"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>ba293049-1bcf-4cb4-8c92-94a0c49aecd7</id>
<name>Sample group</name>
<category>1b92c292-8fa1-45a1-a791-551c89bddf4d</category>
<parent>5ad46ac4-1b82-499a-b71e-c8bc7f22d2fa</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>