# Deep Security Manager REST API

## Path: / rest / rulesets / {rulesetID}

Gets the contents of one ruleset.

Path parameters:
  rulesetID - the ruleset ID.

Method Summary
Resource | Description
--- | ---
`GET /rest/rulesets/{rulesetID}?ruleID=…&ruleIDOp=…&maxItems=…` | Gets the contents of one ruleset.
`DELETE /rest/rulesets/{rulesetID}` | Deletes a ruleset from the Deep Security Manager.

Method Detail
Gets the contents of one ruleset. Output: `DescribeRulesetResponse` - the ruleset contents Query parameters: ruleID - (optional) used to define the starting point for the query. Combine with `ruleIDOp` to page through results. ruleIDOp - (optional, required if `ruleID` is specified) Currently supported operations include gt(greater than), ge(greater than or equal to), eq(eqaul to), lt(less than), and le(less than or equal to). maxItems - (optional) the number of items to retrieve. The maximum value for this parameter is controlled by the "Maximum number of items to retrieve from database" setting on the administrator account, which defaults to 5000. Cookie parameters: sID - a session ID returned by the Authentication API. Produces: application/json Consumes: application/json
Deletes a ruleset from the Deep Security Manager. Output: `void` Cookie parameters: sID - a session ID returned by the Authentication API. Produces: application/json Consumes: application/json

Copyright © 2017 Trend Micro Inc. All Rights Reserved.