Validate VPS nameservers

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.

Headers

Accept Example
Content-Type Example

Body

required
application/json
nameservers array required

Responses

200
success boolean
timestamp string
requestId string
data object
POST https://cloud.hostup.se/api/validate-nameservers
For AI assistants
cURL
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"
    ]
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "success": true,
    "results": [
      {
        "ns": "string",
        "isValid": true
      }
    ]
  }
}
Request Body
{
  "nameservers": [
    "string"
  ]
}