Add DNS records (e.g., MX, A, CNAME) for one or more domains in a single operation. This is useful for bulk updates.
Accept Example Content-Type Example domainNames array required records array required success boolean timestamp string requestId string data object https://cloud.hostup.se/api/domains/bulk/dns/add curl -X POST "https://cloud.hostup.se/api/domains/bulk/dns/add" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"domainNames": [
"string"
],
"records": [
{
"type": "string",
"name": "string",
"value": "string",
"ttl": 0,
"priority": 0
}
]
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"jobId": "string",
"message": "string",
"domainsCount": 0,
"recordsCount": 0
}
} {
"domainNames": [
"string"
],
"records": [
{
"type": "string",
"name": "string",
"value": "string",
"ttl": 0,
"priority": 0
}
]
}