DELETE api/2.0/group/{groupid}/members
Removes the group members specified in the request from the selected group.
Name |
Description |
Type |
Example |
groupid
sent in url
|
Group ID
|
guid
|
9924256A-739C-462b-AF15-E652A3B1B6EB
|
members
sent in body
|
List of members
|
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": "ab80d5c0-7515-4951-ac80-ec4ad07ddcd8",
"name": "Sample group",
"category": "af4ea299-4204-4a7f-b1dd-63afc496a570",
"parent": "f4e038c3-2761-442e-a40f-7fb33fa6a9d8",
"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>ab80d5c0-7515-4951-ac80-ec4ad07ddcd8</id>
<name>Sample group</name>
<category>af4ea299-4204-4a7f-b1dd-63afc496a570</category>
<parent>f4e038c3-2761-442e-a40f-7fb33fa6a9d8</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>