API documentation
Change domain contact
This API can modify the contact information of a domain
Content-Type
application-json
category
domain
action
change_contact
Request parameters
| Parameter Name | Type | Describe | Example |
|---|---|---|---|
| domain | String (3-60) | Domain name | example.com |
| name | String (1-16) | Registrant name | Xiao Ming |
| organization | String (1-255) | Organization / Company name | XXX Ltd. |
| address | String (1-255) | Mailing address | BeiJing |
| country | String (1-255) | Country Code, such as CN | CN |
| state | String (1-255) | Province / State | BeiJing |
| city | String (1-255) | City acronym | BJ |
| postcode | Integer (6) | Post code / Zip code | 100000 |
| phone | "." to separate numbers (30) | +Country code.district code and phone number | +86.13800000000 |
| fax | "." to separate numbers (30) | +Country code.district code and fax numbe | +86.13800000000 |
| Email address | Email address | [email protected] |
Request Example
{
curl http://api.www.unionroom.cn/v2/?category=domain&action=change_contact&domain={domain}&name={name}&organization={organization}&address={address}&country={country}&state={state}&city={city}&postcode={postcode}&phone={phone}&fax={fax}&email={email}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
Return result
0 OK
Successful response
{
"code": 0,
"msg" : "success",
"data" : {
}
}
400 Bad Request
{
"code": 400,
"msg" : "Request parameter error",
}






