API Documents
Contents
    Loading
Support API Documents Transfer a Domain to Another Account

Transfer a Domain to Another Account

1. API Description

This API (Domain.Transfer) is used to transfer a domain to another account.
Domain name for API request:https://api.dnspod.com/Domain.Transfer
HTTP request method: POST

2. Request Parameters

The table below lists only the API request parameters. Common request parameters are required when the API is called. For more information, please see Common Request Parameters.

Parameter Required Description
domain_id OR domain yes Stand for the id and the name of the domain. You only need to and must set one of them.。
email yes The original email address.

3. Response Codes

Only the response codes related to this API are listed below. For other response codes, please see Common Return Codes.

Response Code Description
-15 Domain got prohibited.
-7 The company account need a upgrade before doing this.
-8 You need a upgrade for the domains you are acting for.
6 Invalid domain id.
7 Invalid email address.
8 Email address not exists.
9 You cannot transfer it to yourself.
10 You can’t transfer a domain from a personal account to a company account.
11 You can’t transfer a domain from a company account to a personal account.

4. Sample

curl -X POST https://api.dnspod.com/Domainshare.Transfer -d 'user_token=730060,e1a8a$f14dc5dcbafd83680b3d2a553c4d553d&format=json&domain_id=2059079&email=yizerowu@dnspod.com'

The following is a sample response:

  • JSON:
{
    "status": {
        "code": "1",
        "message": "Action completed successful",
        "created_at": "2012-09-18 20:21:33"
    }
}
Last updated on 2020-12-23 08:18