ドメイン API - ドメイン登録 API - ICANN レジストラ API - White Label ドメイン Service

Start Building with NiceNIC ドメイン API v2

API access is free fまたは every active NiceNIC user. いいえ reseller upgrade is required. Configure あなたの API credentials, make a safe test request, then add the ドメイン, DNS, billing, compliance または WHMCS wまたはkflows あなたの application needs.

ネームサーバーの更新

この更新操作で、ドメインのネームサーバーを変更できます

Content-Type application/json
カテゴリ domain
アクション change_dns

リクエストパラメータ

パラメータ名 タイプ 説明
domain 文字列 (3-60) ドメイン名 example.com
dns1 サーバー プライマリネームサーバーを変更 ns1.my-ndns.com
dns2 サーバー セカンダリネームサーバーを変更 ns2.my-ndns.com
... サーバー DNSを追加、最大6件まで nsX.my-ndns.com

リクエスト例

                                    
{
    curl https://api.nicenic.net/v2/?category=domain&action=change_dns&domain={domain}&dns1={dns1}&dns2={dns2}&...={...} 
      -H "Authorization: username:api_secret" 
      -H "Content-Type: application/json" 
}

返却結果

0 OK 成功レスポンス
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {        
    }
}
400 不正なリクエスト
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
著作権 © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. 無断転載を禁じます. · U.S. Affiliate: NICENIC LLC