Appointed nameserver (domain host) must be registered with target TLD.
curl --location --request PUT 'https://oteapi.webnic.cc/domain/v2/dns?domainName=webnic.com' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"nameservers": [
"ns1.1webnic.com",
"ns2.1webnic.com"
]
}'{
"code": "1000",
"message": "Command completed successfully."
}