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.

With the updateRules query parameter defaulting to true, you can continuously use the latest rule format and keep working with your current rule tree without causing new validation errors as Akamai dynamically modifies catalog options. See Dynamic rule updates for more details. If you prefer to use a dated rule format version over latest, you can also use this operation to Freeze a set of rules to a rule format version.

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.

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