Updates the domain’s nameservers. ns1 and ns2 are required, ns3 through ns5 are optional.
Reseller email address registered in WHMCS
HMAC-SHA256 authentication token.
PHP formula: base64_encode(hash_hmac('sha256', $apiKey, $email . ':' . gmdate('y-m-d H')))
Important: hash_hmac without the 3rd parameter true (returns hex, not binary), then base64_encode of the hex result. The token is 88 characters long.
An optional timestamp header (Unix timestamp, 60-second tolerance) can be sent to synchronize time.
"YTk4YjRmNjI..."
Domain name (e.g. example.com)
"example.com"
Domain name
"example.com"
First nameserver (required)
"ns1.example.com"
Second nameserver (required)
"ns2.example.com"
Third nameserver (optional)
Fourth nameserver (optional)
Fifth nameserver (optional)
Success
The response is of type object.