Resello REST API Documentation

POST domain/[domain_name]/zone

Sets zone records for the specified domain name. This only works if dns management is enabled.

Resource URL

https://backoffice.hostcontrol.com/api/v1/domain/[domain_name]/zone

Parameters

Parameter Required? Description Example value
records required A list of records Please see Example requests

Addition information

The following types are accepted:

If you want to update NS records, please use POST domain/[domain_name]/name-server

Example request


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
}