{ "operationId": "put-sandbox-properties-rules", "method": "PUT", "path": "/sandboxes/{sandboxId}/properties/{sandboxPropertyId}/rules", "summary": "Update a rule tree", "requestExamples": [ { "contentType": "application/json", "example": { "rules": { "name": "default", "children": [ { "criteriaMustSatisfy": "all", "name": "Handle /my-path", "behaviors": [ { "behavior": "max-age", "name": "caching", "ttl": "5m" } ], "criteria": [ { "name": "path", "value": [ "/my-path" ] } ] } ] } } } ], "responseExamples": [ { "status": "200", "contentType": "application/json", "example": { "ruleFormat": "latest", "editedRuleBehaviors": [ "cpCode" ], "filteredRuleBehaviors": [ "http2" ], "_links": { "property": { "href": "/sandbox-api/v1/sandboxes/e43a53d6-7430-11e8-8f80-0242ac110007/properties/e4ae2447-7430-11e8-8f80-0242ac110007" }, "sandbox": { "href": "/sandbox-api/v1/sandboxes/e43a53d6-7430-11e8-8f80-0242ac110007" }, "self": { "href": "/sandbox-api/v1/sandboxes/e43a53d6-7430-11e8-8f80-0242ac110007/properties/e4ae2447-7430-11e8-8f80-0242ac110007/rules" } }, "validationWarnings": [ { "detail": "If your `Origin Server` uses HTTPS, make sure to follow this procedure to avoid a service outage or a security breach when you rotate your origin's certificate.", "errorLocation": "#/rules/behaviors/0", "type": "https://problems.luna.akamaiapis.net/papi/v1/validation/validation_message.ssl_delegate_warning_rotate" } ] } } ] }