{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Patch a specific Site WAN.","properties":{"path":{"type":"object","properties":{"site_id":{"$ref":"#/definitions/magic_identifier"},"account_id":{"$ref":"#/definitions/magic_identifier"},"wan_id":{"$ref":"#/definitions/magic_identifier"}},"required":["site_id","account_id","wan_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/magic_wan_update_request"}},"required":["path","body"],"additionalProperties":false,"definitions":{"magic_identifier":{"description":"Identifier","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"magic_wan_update_request":{"type":"object","properties":{"health_check_rate":{"description":"Magic WAN health check rate for tunnels created on this link.","type":"string","enum":["low","mid","high"],"examples":["low"]},"load_balance_inner_flows":{"type":["boolean","null"]},"name":{"type":"string"},"physport":{"$ref":"#/definitions/magic_port"},"priority":{"type":"integer"},"provisioned_download_kbps":{"description":"Provisioned download rate of the WAN circuit in kilobits per second. Set to null to remove it.","type":["integer","null"],"maximum":1000000000,"minimum":1,"examples":[500]},"provisioned_upload_kbps":{"description":"Provisioned upload rate of the WAN circuit in kilobits per second. Set to null to remove it.","type":["integer","null"],"maximum":1000000000,"minimum":1,"examples":[100]},"static_addressing":{"$ref":"#/definitions/magic_wan_static_addressing_update"},"vlan_tag":{"$ref":"#/definitions/magic_vlan_tag"}}},"magic_port":{"type":"integer","examples":[1]},"magic_wan_static_addressing_update":{"description":"Static addressing configuration. PATCH updates only the fields provided, and PUT replaces the configuration.","type":"object","properties":{"address":{"$ref":"#/definitions/magic_cidr"},"gateway_address":{"$ref":"#/definitions/magic_ip-address"},"secondary_address":{"$ref":"#/definitions/magic_cidr"},"secondary_gateway_address":{"description":"Gateway address for the secondary connector of a high availability site. Set to null to remove it.","type":["string","null"],"examples":["192.0.2.1"]}}},"magic_vlan_tag":{"description":"VLAN ID. Use zero for untagged.","type":"integer","examples":[42]},"magic_cidr":{"description":"A valid CIDR notation representing an IP range.","type":"string","examples":["192.0.2.0/24"]},"magic_ip-address":{"description":"A valid IPv4 address.","type":"string","examples":["192.0.2.1"]}}},"name":"Patch Site WAN","id":"cloudflare.magic-site-wans-patch-wan","example":{"path":{"site_id":"023e105f4ecef8ad9ca31a8372d0c353","account_id":"023e105f4ecef8ad9ca31a8372d0c353","wan_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":{}},"maxRequests":1,"summary":false}}