/api/dns/nameservers/{nsgroupId}Replace a nameserver group configuration
Replaces a nameserver group's configuration with the values in your request. Include all required fields, even when changing only part of the configuration; primary and domains must also be consistent.
Replacement nameserver group configuration. Include all fields; each nameserver entry requires ip, ns_type, and port.
A 400 is returned when the request is invalid. A 401 is returned when authentication is missing or invalid. A 403 indicates insufficient permission, and a 500 indicates an internal server error. Include name, description, nameservers, enabled, groups, primary, domains, and search_domains_enabled; name must be 1–40 characters, each domain must be 1–255 characters, and nameservers must contain 1–3 entries with ns_type set to udp. The nsgroupId path parameter must identify the nameserver group to replace.