Library Rule Group

/api/repositories/{repository}/rulegroups/{folderID}
Parameter Type Purpose
repository string the name of the Repository
folderID int The ID of the desired rule group

Commands

POST /api/repositories/jupiter/rulegroups/1 HTTP/1.1
Content-Type: application/json

{
    "command": "rename",
    "data": {
        "name": "rulegp3",
    }
}
Response Code Reason
204 No error
400 Invalid data passed with request
500 Server error

The request requires a Standard Request packet. Available commands are:

Command Description
rename Rename an existing library rule group

The request packet must contain the command and data elements. The options element is not required.

The name field is required. It should contain the name to which the rule group is to be renamed

Delete

DELETE /api/repositories/(string: repository)/rulegroups/(int: folderID)

Delete the library rule group

DELETE /api/repositories/jupiter/rulegroups/1 HTTP/1.1
Response Code Reason
204 Success
400 Invalid parameters
500 Server error