Sets zone records for the specified domain name. This only works if dns management is enabled.
https://backoffice.hostcontrol.com/api/v1/domain/[domain_name]/zone
Parameter | Required? | Description | Example value |
---|---|---|---|
records | required | A list of records | Please see Example requests |
The following types are accepted:
If you want to update NS records, please use POST domain/[domain_name]/name-server
POST https://backoffice.hostcontrol.com/api/v1/domain/exampledomainnnn.com/zone
POST Data
{
"records": [
{
"content": "50.150.50.55",
"type": "A",
"name": "exampledomainnnn.com",
"prio": null,
"ttl": 3600
},
{
"content": "50.150.50.50",
"type": "A",
"name": "exampledomainnnn.com",
"prio": null,
"ttl": 3600
}
]
}
Result
{
"result": null,
"success": true
}