Remove a group
Name | Type | Description |
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 or request body |
Forbidden | 403 | Administrator access is required |
Not Found | 404 | Requested group could not be found |
None
Groups provide the ability to associate a collection of users with a predefined role.
Use groups (GET) to retrieve a list of existing groups.
The following code example deletes the group with ID 2:
Plug p = Plug.New("http://deki-hayes/@api/deki"); p.At("users", "authenticate").WithCredentials("admin", "password").Get(); p.At("groups", "2").Delete();
Add notes about requirements or config values
The following command deletes group "foo":
curl -u admin:password -X DELETE -i http://mindtouch.address/@api/deki/groups/=foo