{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Modifies one or more rules in a Web Analytics ruleset with a single request.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/rum_identifier"},"ruleset_id":{"$ref":"#/definitions/rum_ruleset_identifier"}},"required":["account_id","ruleset_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/rum_modify-rules-request"}},"required":["path","body"],"additionalProperties":false,"definitions":{"rum_identifier":{"description":"Identifier.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"rum_ruleset_identifier":{"description":"The Web Analytics ruleset identifier.","type":"string","examples":["f174e90a-fafe-4643-bbbc-4a0ed4fc8415"]},"rum_modify-rules-request":{"type":"object","properties":{"delete_rules":{"description":"A list of rule identifiers to delete.","type":"array","items":{"$ref":"#/definitions/rum_rule_identifier"}},"rules":{"description":"A list of rules to create or update.","type":"array","items":{"properties":{"host":{"type":"string","examples":["example.com"]},"id":{"$ref":"#/definitions/rum_rule_identifier"},"inclusive":{"type":"boolean","examples":[true]},"is_paused":{"type":"boolean","examples":[false]},"paths":{"type":"array","items":{"type":"string"},"examples":[["*"]]}},"type":"object"}}}},"rum_rule_identifier":{"description":"The Web Analytics rule identifier.","type":"string","examples":["f174e90a-fafe-4643-bbbc-4a0ed4fc8415"]}}},"name":"Update Web Analytics rules","id":"cloudflare.web-analytics-modify-rules","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353","ruleset_id":"f174e90a-fafe-4643-bbbc-4a0ed4fc8415"},"body":{}},"maxRequests":1,"summary":false}}