| Field | Type | Description |
|---|---|---|
| nameservers | String[] | (Required) List of 4 nameservers |
| adminEmail | String | (Required) Administrator email address |
| Field | Type | Description |
|---|---|---|
| submitted | Boolean | Return true if the changes succeed |
| Action | URL |
|---|---|
| Get Whitelabel Nameserver | {{baseUrl}}/dns/v2/subscription/whitelabel/ns |
curl --location --request POST 'https://oteapi.webnic.cc/dns/v2/subscription/whitelabel/ns' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"nameservers": ["ns1.pickafoo.top","ns2.pickafoo.top","ns3.pickafoo.top","ns4.pickafoo.top"],
"adminEmail": "admin@webnic.cc"
}'{
"code": "1000",
"message": "Command completed successfully.",
"data": {
"submitted": true
}
}