{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates a rule in a Web Analytics ruleset.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/rum_identifier"},"ruleset_id":{"$ref":"#/definitions/rum_ruleset_identifier"},"rule_id":{"$ref":"#/definitions/rum_rule_identifier"}},"required":["account_id","ruleset_id","rule_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/rum_create-rule-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_rule_identifier":{"description":"The Web Analytics rule identifier.","type":"string","examples":["f174e90a-fafe-4643-bbbc-4a0ed4fc8415"]},"rum_create-rule-request":{"type":"object","properties":{"host":{"type":"string","examples":["example.com"]},"inclusive":{"description":"Whether the rule includes or excludes traffic from being measured.","type":"boolean","examples":[true]},"is_paused":{"description":"Whether the rule is paused or not.","type":"boolean","examples":[false]},"paths":{"type":"array","items":{"type":"string"},"examples":[["*"]]}}}}},"name":"Update a Web Analytics rule","id":"cloudflare.web-analytics-update-rule","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353","ruleset_id":"f174e90a-fafe-4643-bbbc-4a0ed4fc8415","rule_id":"f174e90a-fafe-4643-bbbc-4a0ed4fc8415"},"body":{}},"maxRequests":1,"summary":false}}