閱讀896 返回首頁    go 阿裏雲


發起找回域名__域名找回接口_API文檔_雲解析-阿裏雲

描述

根據傳入參數發送驗證郵件到用戶的whois郵箱。點擊whois郵箱中的驗證鏈接,會跳轉到阿裏雲解析的管理平台。

請求參數

名稱 類型 是否必須 描述
Action String 操作接口名,係統規定參數,取值:RetrievalDomainName
DomainName String 域名名稱

返回參數

公共返回參數,詳見公共返回參數

名稱 類型 描述
RequestId String 唯一請求識別碼
DomainName String 域名名稱
WhoisEmail String 接收驗證碼的whois郵箱

錯誤碼

對於所有接口的通用性錯誤,請參考錯誤代碼表

錯誤代碼 描述 HTTP 狀態碼 語義
InvalidDomainName.Format The format of domain is error. 400 域名格式錯誤
InvalidDomainName.Suffix The domain suffix isnot been supported. 400 不支持的域名後綴
InvalidDomainName.Unregistered The domain name is not registered. 400 未注冊的域名
InvalidDomainName.Duplicate The domain name is duplicated in this user’s domain list. 400 本用戶下已存在的域名
CHNDomainInfoNotMatch The information of chinese domain does not match with CNNIC. 400 中文域名與注冊局返回信息不匹配(見注釋)
UnabletoGetWoisInfo The domain is unable to get information from whois system. 400 獲取不到Whois信息
InvalidDomainName.NoExist The domain is not exist in Alibaba Cloud DNS system. 400 域名在雲解析係統中不存在
UnableToGetWhoisEmail The domain is unable to get whois email. 400 Whois郵箱未獲取到
Forbidden.DomainType TThe domain is forbidden to operate because it is a hichina domain. 400 萬網域名不允許找回
Forbidden.TooOfen The operation is too ofen in 90 seconds. 400 90秒內不允許重複找回
Forbidden.ProtectedDomain The domain is forbidden to operation because this is a protected domain in white list. 400 找回白名單域名不允許找回

示例

請求示例

  1. https://alidns.aliyuncs.com/?Action=RetrievalDomainName
  2. &DomainName=example.com
  3. &<公共請求參數>

返回示例

XML格式

  1. <RetrievalDomainNameResponse>
  2. <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>
  3. <DomainName>example.com</DomainName>
  4. <WhoisEmail>webmaster@gmail.com</WhoisEmail>
  5. </RetrievalDomainNameResponse>

JSON示例

  1. {
  2. "RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
  3. "DomainName": "example.com",
  4. "WhoisEmail": "webmaster@gmail.com"
  5. }

最後更新:2016-11-23 17:16:06

  上一篇:go 獲取域名分組列表__域名分組接口_API文檔_雲解析-阿裏雲
  下一篇:go 申請由管理員找回__域名找回接口_API文檔_雲解析-阿裏雲