ドメイン 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.

子ネームサーバーを削除する

削除 a 登録ed DNS server

Content-Type application/json
カテゴリ nameserverhost
アクション delete

リクエストパラメータ

パラメータ名 タイプ 説明
domain 文字列 ドメイン名 example.com
dns 文字列 (3-30) DNSサーバー名(ドメインと一致する必要があります) ns1.example.com

レスポンスパラメータ

パラメータ名 タイプ 説明
dns 文字列 削除されたDNSサーバー名

リクエスト例

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

返却結果

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