{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Creates a named Custom Nameserver Set. Only the customer-defined name can be changed later. To change nameservers or addresses, create a new set, move any zone assignments, and delete the old set. For details, refer to [Nameserver sets](https://developers.cloudflare.com/dns/nameservers/custom-nameservers/nameserver-sets/).","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/dns-settings_identifier"}},"required":["account_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/dns-settings_nameserver-set-create"}},"required":["path","body"],"additionalProperties":false,"definitions":{"dns-settings_identifier":{"description":"Identifier.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"dns-settings_nameserver-set-create":{"type":"object","properties":{"advanced":{"description":"Whether to allocate the nameservers from distinct Advanced anycast groups.","type":"boolean","default":false,"examples":[false]},"ip_set":{"$ref":"#/definitions/dns-settings_nameserver-set-ip-set"},"name":{"$ref":"#/definitions/dns-settings_nameserver-set-name"},"nameservers":{"description":"Lists each nameserver and the number of addresses to allocate to it. Requires a unique name for each entry in the set.","type":"array","items":{"$ref":"#/definitions/dns-settings_nameserver-set-create-member"},"maxItems":5,"minItems":1}},"required":["name","nameservers"]},"dns-settings_nameserver-set-ip-set":{"description":"Selects the account-specific IP set that supplies the nameserver addresses. Nameserver sets with the same `ip_set` and `advanced` value may reuse addresses; otherwise, they use disjoint address groups.","type":"integer","default":1,"minimum":1,"examples":[1]},"dns-settings_nameserver-set-name":{"description":"Customer-defined name, unique within the account by exact string equality (case-sensitive, with no Unicode normalization). Must be valid UTF-8 and at most 255 UTF-8 bytes, not 255 characters. Only graphical Unicode characters are allowed; leading or trailing whitespace is rejected. The name can be changed without changing the set's nameservers or addresses.","type":"string","maxLength":255,"minLength":1,"examples":["Production nameservers"]},"dns-settings_nameserver-set-create-member":{"type":"object","properties":{"ip_count":{"$ref":"#/definitions/dns-settings_nameserver-set-ip-count"},"name":{"$ref":"#/definitions/dns-settings_nameserver-name"}},"required":["name"]},"dns-settings_nameserver-set-ip-count":{"description":"Number of IPv4 addresses and number of IPv6 addresses to allocate to this nameserver. All nameservers in an Advanced nameserver set must use the same value.","type":"integer","default":1,"maximum":3,"minimum":1,"examples":[1]},"dns-settings_nameserver-name":{"description":"A unique lowercase Punycode nameserver name within the set.","type":"string","examples":["ns1.example.com"]}}},"name":"Create Custom Nameserver Set","id":"cloudflare.dns-settings-for-an-account-create-custom-nameserver-set","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":{"name":"Production nameservers","nameservers":[{"name":"ns1.example.com"}]}},"maxRequests":1,"summary":false}}