도메인 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