Update domain nameservers
Replaces the nameserver set for the domain with the provided list.
/api/v1/spaces/assets/domains/{domain}/nameserversThe source export uses a local development server. Examples use the configured Dashio API origin.
The export references authentication schemes without supplying their definitions.
Authentication
bearerAuth
Understand authenticationPath parameters
domainstringRequiredDomain name in FQDN format
Query parameters
None declared in this export.
Header parameters
None declared in this export.
Request body
application/json · Required
nameserversobject[]RequiredNo field description supplied.
Responses
200
Nameservers updated.
successbooleanRequiredNo field description supplied.
400
Invalid request.
No response body schema supplied.
404
Domain not found.
No response body schema supplied.
422
DNSSEC must be disabled before switching to external nameservers, or the registrar rejected the nameserver set.
errorbooleanRequiredAllowed values: true.
urlstringOptionalNo field description supplied.
statusCodeintegerRequiredAllowed values: 422.
statusMessagestringRequiredNo field description supplied.
messagestringRequiredNo field description supplied.
500
Failed to update nameservers.
No response body schema supplied.
Was this helpful?