Overview
public. Remove a group
Uri Parameters
| Name | Type | Description |
| groupid | string | either an integer group ID or "=" followed by a double uri-encoded group name |
Return Codes
| Name | Value | Description |
| BadRequest | 400 | Invalid input parameter or request body |
| Forbidden | 403 | Administrator access is required |
| NotFound | 404 | Requested group could not be found |
| Ok | 200 | Request completed successfully |
Implementation Notes
Groups provide the ability to associate a collection of users with a predefined role.
Use GET:groups to retrieve a list of existing groups.
Code Samples
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();