Rules
Update a rule
Updates the rule with new rule content.
put/ruleSets/{ruleSetId}/rules/{rid}
Request
- Base URL: https://example.com/businessRules
- URL: https://example.com/businessRules/ruleSets/{ruleSetId}/rules/{rid}
- Auth: none declared
Path parameters
ruleSetIdstring required
The rule set ID.
ridstring required
The rule ID.
Query parameters
createVariablesboolean
If set to true, any variables that do not exist within the posted rule content are created if a valid data type can be derived from the expression or an optional data type is provided.
Headers
If-Unmodified-Sincestring date-time
The last date and time of the contents retrieved for the rule on which you are basing your update.
Request body
Example request
{
"name": "Age Requirements",
"conditional": "if",
"ruleFiredTrackingEnabled": true
}Response
The request succeeded.
Example response
{
"name": "Age Requirements",
"conditional": "if",
"ruleFiredTrackingEnabled": true
}Changes
No recorded changes to this operation across all 1 revision of this API.