URL | POST {{basepath}}/customercontrol/link/:type/:identifier |
---|---|
Category | CustomerControl |
Allows you to create a host (aka Glue record)
Expects a HostCreateRequest object.
Returns a HostCreateResponse object.
:type | dnszone | |
---|---|---|
:identifier | zerg-controlpanel-test-2019-10-09-03.com |
{
"customerId": 23,
"access": "read",
"autoExtend": true,
"locale": "nl",
"temporary": false,
"customerDataFields": {
"name": "John de Tester"
}
}
POST {{basepath}}/domain/:name/host
{
"hostname": "ns5.zerg-test-controlpanel-2023-06-09-01.frl",
"addr": [
{
"ipAddress": "213.249.80.251",
"ip": "v4"
}
]
}
:name | zerg-test-controlpanel-2023-06-09-07.frl |
---|
200 OK
{
"responseId": "mapi1_ff403abd63826ed085aea0c0398e2f5987c351fc",
"status": "ok",
"message": "Command completed successfully"
}