URL | POST {{basepath}}/domain/:name/host |
---|---|
Category | REPP-Host |
Allows you to create a host (aka Glue record)
Expects a HostCreateRequest object.
Returns a HostCreateResponse object.
:name | zerg-test-controlpanel-2023-06-09-07.frl |
---|
{
"hostname": "ns5.zerg-test-controlpanel-2023-06-09-01.frl",
"addr": [
{
"ipAddress": "213.249.80.251",
"ip": "v4"
}
]
}
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"
}