{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates an existing Web Analytics site.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/rum_identifier"},"site_id":{"$ref":"#/definitions/rum_identifier"}},"required":["account_id","site_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/rum_update-site-request"}},"required":["path","body"],"additionalProperties":false,"definitions":{"rum_identifier":{"description":"Identifier.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"rum_update-site-request":{"type":"object","properties":{"auto_install":{"$ref":"#/definitions/rum_auto_install"},"enabled":{"$ref":"#/definitions/rum_enabled"},"host":{"$ref":"#/definitions/rum_host"},"lite":{"$ref":"#/definitions/rum_lite"},"zone_tag":{"$ref":"#/definitions/rum_zone_tag"}}},"rum_auto_install":{"description":"If enabled, the JavaScript snippet is automatically injected for orange-clouded sites.","type":"boolean","examples":[true]},"rum_enabled":{"description":"Enables or disables RUM. This option can be used only when auto_install is set to true.","type":"boolean","examples":[true]},"rum_host":{"description":"The hostname to use for gray-clouded sites.","type":"string","examples":["example.com"]},"rum_lite":{"description":"If enabled, the JavaScript snippet will not be injected for visitors from the EU.","type":"boolean"},"rum_zone_tag":{"description":"The zone identifier.","type":"string","examples":["023e105f4ecef8ad9ca31a8372d0c353"]}}},"name":"Update a Web Analytics site","id":"cloudflare.web-analytics-update-site","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353","site_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":{}},"maxRequests":1,"summary":false}}