Get nameserver templates

Retrieve a list of available nameserver templates. This is useful when configuring DNS settings for a domain and you need to select a pre-made template for external nameservers. The API returns IDs that can be used in subsequent calls to manage your domain names.

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
GET https://cloud.hostup.se/api/nameserver-templates
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/nameserver-templates" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "templates": [
      {
        "id": "string",
        "client_id": 0,
        "name": "string",
        "description": "string",
        "is_system": true,
        "nameservers": [
          "string"
        ],
        "created_at": "string",
        "updated_at": "string"
      }
    ]
  }
}