Request
Method:PATCHPath:
/v1/domains/{domain}/nameservers
Path Parameters
string
required
The domain name whose nameservers you want to update (e.g.
example.com).Body Parameters
string[]
required
An array of 2 to 13 fully-qualified nameserver hostnames (e.g.
["ns1.example.com", "ns2.example.com"]). Each entry must be a valid hostname string. The order of the array is preserved.If the domain hasn’t been fully provisioned yet (for example, it was registered very recently and is still propagating), the nameserver changes are saved immediately and will be applied automatically once provisioning completes. The
pendingFulfillment: true flag in the response indicates this state.Request Example
Response — 200 OK
string[]
The updated list of nameserver hostnames now assigned to the domain, in the order they were provided.
boolean
true if the domain is still being provisioned and the nameserver change will be applied automatically once the registration completes. false if the change was applied immediately.