Domains

Switch the nameservers

For a domain registered or transferred through Hypamoon: point its nameservers to the DNS zone here (refused with confirmation_required and the preflight while it is not ready, unless ignore_preflight), or back to the previous ones.

post/domains/{id}/nameservers

Request

  • Base URL: https://api.hypamoon.com/api/v1
  • URL: https://api.hypamoon.com/api/v1/domains/{id}/nameservers
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://app.hypamoon.com/oauth/authorize, token URL https://api.hypamoon.com/oauth/token, scopes: sites:write)

Path parameters

idstring uuid required

The id of the domain.

Request body

use'hypamoon' | 'previous' required

hypamoon: the nameservers of the DNS zone here. previous: back to the nameservers the domain had before (to undo the move).

ignore_preflightboolean

Optional, default false. With use hypamoon, the switch is refused while preflight_domain is not ready; true switches anyway (only when the user accepts the listed differences).

Response

The domain, with the nameservers now set at the registry.

Changes

No recorded changes to this operation across all 1 revision of this API.