Wiki

Modify contacts

Description

Modifies the contact details of a domain

Note: The method deletes all existing name servers and sets only the ones specified this time
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
tld String Required The TLD the domain name will be registered with (com, net, org, etc)
type String Required Depends on the type you want to change. The types can be obtained with the Get Contacts method
mail String Required Email address
name String Required First and last name of the person
company String Required Name of the company
address String Required  Address of the company/person(street, number, etc)
city String Required  Example: Dallas
state String Required Example: Texas
zip Integer Required ZIP code
country String Required 2 letters country code according to ISO 3166
telnocc Integer Required Phone number calling code. Between 1 and 3 digits.
telno Integer Required Phone number
faxnocc Integer Optional Fax number calling code. Between 1 and 3 digits.
faxno Integer Optional Fax number.

Return: Array with status and status description.


Example

URL JSON: https://api.cloudns.net/domains/set-contacts.json
POST/GET: auth-id=0&auth-password=password&domain-name=domain.com&type=reg&mail=user@gmail.com&name=John Doe&company=Unknown International LTD.&address1=125 North Avenue&city=Dallas&state=Texas&zip=5000&country=US&telno=555555&telnocc=555

URL XML: https://api.cloudns.net/domains/set-contacts.xml
POST/GET: auth-id=0&auth-password=password&domain-name=domain.com&type=reg&mail=user@gmail.com&name=John Doe&company=Unknown International LTD.&address1=125 North Avenue&city=Dallas&state=Texas&zip=5000&country=US&telno=555555&telnocc=555

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