Update a property's rule tree

To write a rule tree to a property version, make a PUT request to the same resource as the GET request that reads it. Pass in the rule object in the body of the request. See the Rule Trees section for details on the rule tree's structure. Set the validateRules query parameter to false to bypass a set of validation tests that may significantly slow this operation's execution time. See Validation best practices for guidance on when to defer validation. If the GET response yields any rule tree errors, you need to fix them before activating. This PUT operation saves a rule tree even if it contains errors that block the property activation. See Rule tree errors and warnings and Validation errors for information on how validation data is embedded within the response object.

Use this operation also to Freeze a set of rules to a rule format version to ensure no change in a deployed activation's behavior.

Recipes
Update a property's rule tree
Open Recipe
Language
URL
Click Try It! to start a request and see the response here!