Skip to main content
Domain Nameservers2026.8.0

Update domain nameservers

Replaces the nameserver set for the domain with the provided list.

POST/api/v1/spaces/assets/domains/{domain}/nameservers

The 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 authentication

Path parameters

domainstringRequired

Domain name in FQDN format

Query parameters

None declared in this export.

Header parameters

None declared in this export.

Request body

application/json · Required

nameserversobject[]Required

No field description supplied.

Responses

200

Nameservers updated.

successbooleanRequired

No 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.

errorbooleanRequired

Allowed values: true.

urlstringOptional

No field description supplied.

statusCodeintegerRequired

Allowed values: 422.

statusMessagestringRequired

No field description supplied.

messagestringRequired

No field description supplied.

500

Failed to update nameservers.

No response body schema supplied.

Was this helpful?