Domain Transfer¶
/domain-transfer¶
GET¶
Get all transfers for the current reseller.
JSON request
|
string |
Comma separated list of client references that uniquely identifies a domain transfer. |
|
string |
Full or partial domain transfer name to search for. |
|
string |
Comma separated list of domain transfer ids that uniquely identifies a domain transfer |
JSON response
array: Domain Transfer
Sample
curl \
--request GET \
--user "{{api_username}}:{{api_key}}" \
"{{api_base_url}}/domain-transfer" | python -m json.tool
POST¶
Start a new transfer for this domain. The system will automatically determine if this is an internal or an external transfer.
JSON request
|
string |
The domain name |
||||||
|
array |
|
||||||
|
array |
|
||||||
|
string |
The authorization code for the transfer (if required by the registry) |
||||||
|
string |
OPTIONAL: Possible values: ‘NONE’, ‘OLD’, ‘NEW’, ‘BOTH’ Indicates for whom you are acting as a designated agent. If a registry does not allow you to be designated agent or interaction with the registrant is still required this parameter is silently ignored. |
JSON response
object: Domain Transfer
Possible errors
Sample
curl \
--request POST \
--user "{{api_username}}:{{api_key}}" \
--data '
{
"name": "example.com",
"authorization_code": "nF3N4%9d89^#Uf4$N&^sh328234hj03(*7657",
"contacts": [
{
"role": "registrant",
"contact": "RP934K83F9k30K2904L"
},
{
"role": "admin",
"contact": "RP934K83F9k30K2904L"
},
{
"role": "billing",
"contact": "RP934K83F9k30K2904L"
},
{
"role": "tech",
"contact": "RP934K83F9k30K2904L"
}
],
"name_servers": [
{
"hostname": "ns1.example.com"
},
{
"hostname": "ns2.example.com"
}
]
}
' \
"{{api_base_url}}/domain-transfer" | python -m json.tool
/domain-transfer/{id}¶
GET¶
Get detailed information about a transfer.
JSON response
object: Domain Transfer
Possible errors
Sample
curl \
--request GET \
--user "{{api_username}}:{{api_key}}" \
"{{api_base_url}}/domain-transfer/{id}?extended=1" | python -m json.tool
DELETE¶
Try and cancel a transfer.
JSON response
object: Domain Transfer
Possible errors
Sample
curl \
--request DELETE \
--user "{{api_username}}:{{api_key}}" \
"{{api_base_url}}/domain-transfer/{id}" | python -m json.tool