Create a new nameserver template for your domains. This is useful when you want to define a standard set of nameservers for multiple domains at once. The endpoint returns an ID that can be used for subsequent actions related to the template.
Accept Example Content-Type Example name string required description any required nameservers array required success boolean timestamp string requestId string data object https://cloud.hostup.se/api/nameserver-templates curl -X POST "https://cloud.hostup.se/api/nameserver-templates" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"description": null,
"nameservers": [
"string"
]
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"template": {
"id": "string",
"client_id": 0,
"name": "string",
"description": "string",
"is_system": true,
"nameservers": [
"string"
],
"created_at": "string",
"updated_at": "string"
},
"message": "string"
}
} {
"name": "string",
"description": null,
"nameservers": [
"string"
]
}