Change the nameservers associated with your domain. This is often necessary when migrating services or setting up new DNS configurations. The API returns a jobId to retrieve the pre-check results via a separate GET request.
domainId integer · min: 1 required Example Unique domain identifier
Accept Example Content-Type Example nameservers array required domainIds array nsips array success boolean timestamp string requestId string data object error string message string code string timestamp string requestId string details array syncTriggered boolean domainStatus string error string message string code string timestamp string requestId string error string message string code string timestamp string requestId string error string message string code string timestamp string requestId string https://cloud.hostup.se/api/domains/{domainId}/nameservers curl -X POST "https://cloud.hostup.se/api/domains/369/nameservers" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"nameservers": [
"string"
],
"domainIds": [
"string"
],
"nsips": [
"string"
]
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"message": "string",
"success": true,
"syncTriggered": true,
"domainStatus": "string"
}
} {
"nameservers": [
"string"
],
"domainIds": [
"string"
],
"nsips": [
"string"
]
}