Network create/update requests were sending empty strings for unset fields (firewall_zone_id, radiusprofile_id, usergroup_id, dhcpd_dns_*, wan_dns*, and 20+ others) because their JSON struct tags lacked omitempty. The UniFi controller interprets an explicit empty firewall_zone_id as a zone disassociation, which triggers a global zone rebuild that causes all zone policies to disappear from the UI. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
54 KiB
Generated
54 KiB
Generated