# Deep Security Manager REST API

## Name: CreateRulesetRequest

Request object for the CreateRuleset API.

JSON Example:
    {"CreateRulesetRequest":
     {
       "inventoryId": Number,
       "ruleset": Ruleset,
     }
    }

Elements
Name | Type | Required | Default Value | Description
--- | --- | --- | --- | ---
inventoryId | Number | No | `` | The inventory ID of the inventory to base the new ruleset on. Optional. One of `ruleset` or `inventoryId` must be specified. If an inventory is specified, all items in the inventory will be added to the ruleset with `action=ALLOW`.
ruleset | Ruleset | No | `` | The ruleset details. Optional. One of `ruleset` or `inventoryId` must be specified.

Copyright © 2017 Trend Micro Inc. All Rights Reserved.