Make a link to hosts :D

Request Information
URL POST {{basepath}}/customercontrol/link/:type/:identifier
CategoryCustomerControl

Description

Allows you to create a host (aka Glue record)

Expects a HostCreateRequest object.

Returns a HostCreateResponse object.

Url variables
:typednszone
:identifierzerg-controlpanel-test-2019-10-09-03.com
JSON
{
    "customerId": 23,
    "access": "read",
    "autoExtend": true,
    "locale": "nl",
    "temporary": false,
    "customerDataFields": {
        "name": "John de Tester"
    }
}

Example responses

Create a host
Request Method & URL
POST {{basepath}}/domain/:name/host
Request Body:
{
    "hostname": "ns5.zerg-test-controlpanel-2023-06-09-01.frl",
    "addr": [
        {
            "ipAddress": "213.249.80.251",
            "ip": "v4"
        }
    ]
}
Url variables
:namezerg-test-controlpanel-2023-06-09-07.frl
Response Code:
200 OK
Response Body:
{
    "responseId": "mapi1_ff403abd63826ed085aea0c0398e2f5987c351fc",
    "status": "ok",
    "message": "Command completed successfully"
}