Set domain nameservers
set_domain_nameserversQueue an asynchronous registrar change to replace an owned domain's parent-zone nameserver delegation with new hostname-based nameservers.
Instructions
Queue an asynchronous registrar nameserver change for an owned domain. When applied, the parent zone delegates the domain to the new public nameservers, replacing the prior delegation. Nameservers must be hostnames, not IP addresses; same-domain nameserver IP records are managed separately. This does not manage DNS records or PTR. Follow returned dnssec_transition steps until done; preserve parentDsUnreadable or parentDsRemovalRequired refusals and do not bypass an active transition with manual DS edits. Requires domains:manage when using an API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain_id | Yes | Owned domain ID from list_domains | |
| nameservers | Yes | 2-13 nameserver hostnames, e.g. ns1.vpsnet.com, ns2.vpsnet.com. IP addresses are not accepted. | |
| idempotencyKey | No | Optional idempotency key for the queued domain action |