Overview

public. Remove a group

Uri Parameters
NameTypeDescription
groupidstringeither an integer group ID or "=" followed by a double uri-encoded group name
Query Parameters
NameTypeDescription
authenticatebool?Force authentication for request (default: false)
Return Codes
NameValueDescription
BadRequest400Invalid input parameter or request body
Forbidden403Administrator access is required
NotFound404Requested group could not be found
Ok200Request completed successfully

Message Format

None

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();
Tag page
You must login to post a comment.