POST
/
?action=addchildnameserver
curl --request POST \
  --url 'https://domain.hostwithdothost.com/?action=addchildnameserver' \
  --header 'Content-Type: application/json' \
  --data '{
  "username": "yourUsername",
  "password": "yourPassword",
  "domain": "thegrtnx.com,ng",
  "nameServer": "ns1.thegrtnx.com.ng",
  "ipAddress": "144.76.27.104"
}'
{
  "data": {
    "NameServer": "ns1.thegrtnx.com.ng",
    "IPAdresses": [
      "127.11.0.4"
    ]
  },
  "result": "OK"
}

Body

application/json
username
string
required
password
string
required
domain
string
required
nameServer
string
required
ipAddress
string
required

Response

200
application/json
data
object
required
result
string
required