{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates a WARP IP assignment subnet.\n\n**Update constraints:**\n- The `network` field cannot be modified for WARP subnets. Only `name`, `comment`, and `is_default_network` can be updated.\n- IPv6 subnets cannot be updated\n","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/tunnel_account_id"},"subnet_id":{"$ref":"#/definitions/tunnel_subnet_id"}},"required":["account_id","subnet_id"],"additionalProperties":false},"body":{"type":"object","properties":{"comment":{"$ref":"#/definitions/tunnel_subnet_comment"},"is_default_network":{"$ref":"#/definitions/tunnel_subnet_is_default_network"},"name":{"$ref":"#/definitions/tunnel_subnet_name"},"network":{"$ref":"#/definitions/tunnel_subnet_ip_network"}}}},"required":["path","body"],"additionalProperties":false,"definitions":{"tunnel_account_id":{"description":"Cloudflare account ID","type":"string","maxLength":32,"examples":["699d98642c564d2e855e9661899b7252"]},"tunnel_subnet_id":{"description":"The UUID of the subnet.","type":"string","format":"uuid","examples":["f70ff985-a4ef-4643-bbbc-4a0ed4fc8415"]},"tunnel_subnet_comment":{"description":"An optional description of the subnet.","type":"string","default":"","examples":["example comment"]},"tunnel_subnet_is_default_network":{"description":"If `true`, this is the default subnet for the account. There can only be one default subnet per account.","type":"boolean","default":false},"tunnel_subnet_name":{"description":"A user-friendly name for the subnet.","type":"string","examples":["IPv4 Cloudflare Source IPs"]},"tunnel_subnet_ip_network":{"description":"The private IPv4 or IPv6 range defining the subnet, in CIDR notation.","type":"string","examples":["100.64.0.0/12"]}}},"name":"Update WARP IP subnet","id":"cloudflare.zero-trust-networks-subnet-update-warp","example":{"path":{"account_id":"699d98642c564d2e855e9661899b7252","subnet_id":"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415"},"body":{}},"maxRequests":1,"summary":false}}