Check if the nameservers you have specified for your VPS are correct and valid. This is an important step when configuring or updating your server's DNS settings. The endpoint returns a unique ID that may be needed for follow-up actions in other API calls.
Accept Example Content-Type Example nameservers array required success boolean timestamp string requestId string data object https://cloud.hostup.se/api/validate-nameservers curl -X POST "https://cloud.hostup.se/api/validate-nameservers" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"nameservers": [
"string"
]
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"success": true,
"results": [
{
"ns": "string",
"isValid": true
}
]
}
} {
"nameservers": [
"string"
]
}