cURL
curl --request POST \ --url https://api.decodahealth.com/v1/rule-set/create \ --header 'API-KEY: <api-key>' \ --header 'Content-Type: application/json' \ --header 'TENANT: <tenant>' \ --data '{ "description": "<string>", "name": "<string>", "rules": [] }'
{ "description": "<string>", "id": "<string>", "name": "<string>", "rules": [] }
Create a new RuleSet with associated Rules.
RuleSet
Rule
The tenant you are making this request on behalf of
Your api key
Name of the rule set to be created.
Optional description of the rule set to be created.
List of rules to be created.
Show child attributes
Successful Response
Unique identifier for the rule set.
Name of the rule set.
Optional description of the rule set.
List of rules contained in this rule set.