Query name servers in a private zone.
GET /v2/zones/{zone_id}/nameservers
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
zone_id |
Yes |
String |
Zone ID You can obtain the value by calling the API in Querying Private Zones. |
Parameter |
Type |
Description |
---|---|---|
nameservers |
Array of object |
Name server list object For details, see Table 3. |
{ "nameservers": [ { "priority": 1, "address": "100.125.0.81" }, { "priority": 2, "address": "100.125.0.82" } ] }
If a 2xx status code is returned, for example, 200, 202, or 204, the request is successful.
For details, see Status Code.