Remove given member from a group
Name | Type | Description |
userid | string | either an integer user ID, "current", or "=" followed by a double uri-encoded user name |
groupid | string | either an integer group ID or "=" followed by a double uri-encoded group name |
Name | Type | Description |
authenticate | bool? | Force authentication for request (default: false) |
Name | Value | Description |
OK | 200 | Request completed successfully |
Bad Request | 400 | Invalid input parameter |
Forbidden | 403 | Administrator access is required |
Not Found | 404 | Requested group could not be found |
Input:
Empty body
Output:
<group id="{int}" href="{uri}"> <groupname>{text}</groupname> <service.authentication id="{int}" href="{uri}" /> <users count="{int}" href="{uri}" /> <permissions.group> <operations mask="{int}">{text}</operations> <role id="{int}" href="{uri}">{text}</role> </permissions.group> </group>
The user specified in the URI will be removed from the group members list
The following command removes user "foo" from group "bar":
curl -u admin:password -X DELETE -i http://mindtouch.address/@api/deki/groups/=bar/users/=foo