# Create Mainframe Dataset ruleset Endpoint: POST /mainframe-dataset-rulesets Version: 5.1.47 Security: api_key ## Request fields (application/json): - `rulesetName` (string, required) The name of the ruleset. This must be unique within an environment. Example: "Rule123" - `mainframeDatasetConnectorId` (integer, required) The ID of the Mainframe Dataset Connector that this ruleset corresponds to. Note that the ruleset will be created on the same environment as its connector. Example: 1 ## Response default fields (application/json): - `mainframeDatasetRulesetId` (integer) The ID of the Mainframe Dataset ruleset. This field is set by the Masking Engine. - `rulesetName` (string, required) The name of the ruleset. This must be unique within an environment. Example: "Rule123" - `mainframeDatasetConnectorId` (integer, required) The ID of the Mainframe Dataset Connector that this ruleset corresponds to. Note that the ruleset will be created on the same environment as its connector. Example: 1