Wiki

Modify name servers

Description

Modifies the name servers of the domain

Note: This function is not available for sub users.


Parameters

Name Data Type Status Description
auth-id Integer Required Authentication parameter
auth-password String Required Authentication parameter
domain-name String Required Name of the domain
nameservers Array Required Array with the name servers

Return: Array with status and status description


 Example

URL JSON: https://api.cloudns.net/domains/set-nameservers.json
POST/GET: auth-id=0&auth-password=password&domain-name=domain.com&nameservers[]=ns1.domain.com&nameservers[]=ns2.domain.com

URL XML: https://api.cloudns.net/domains/set-nameservers.xml
POST/GET: auth-id=0&auth-password=password&domain-name=domain.com&nameservers[]=ns1.domain.com&nameservers[]=ns2.domain.com

Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more