ডোমেইন API - ডোমেইন নিবন্ধন API - ICANN রেজিস্ট্রার API - হোয়াইট লেবেল ডোমেইন পরিষেবা

NiceNIC ডোমেইন API v2 দিয়ে নির্মাণ শুরু করুন

প্রতিটি সক্রিয় NiceNIC ব্যবহারকারীর জন্য API অ্যাক্সেস বিনামূল্যে। কোনো রিসেলার আপগ্রেড প্রয়োজন নেই। আপনার API credentials কনফিগার করুন, একটি নিরাপদ পরীক্ষার অনুরোধ করুন, তারপর আপনার অ্যাপ্লিকেশনের প্রয়োজনীয় ডোমেইন, DNS, বিলিং, কমপ্লায়েন্স বা WHMCS ওয়ার্কফ্লো যোগ করুন।

WHOIS প্রাইভেসি

Show or hide individual registrant fields for a supported domain. Fields omitted from the request keep their saved settings.

Content-Type application/json
বিভাগ domain
কর্ম set_whois_privacy

অনুরোধের প্যারামিটার

প্যারামিটারের নাম ধরন বিবরণ উদাহরণ
domain স্ট্রিং Required. A supported domain managed by the authenticated account. example.com
whois_privacy অবজেক্ট Required. Use whois_privacy[field] for at least one of the fields below. whois_privacy[email]=0
whois_privacy.organization পূর্ণসংখ্যা Registrant Organization. 0 means Hide and 1 means Show. 0
whois_privacy.name পূর্ণসংখ্যা Registrant Name. 0 means Hide and 1 means Show. 0
whois_privacy.address পূর্ণসংখ্যা Registrant Address. 0 means Hide and 1 means Show. 0
whois_privacy.phone পূর্ণসংখ্যা Registrant Phone. 0 means Hide and 1 means Show. 1
whois_privacy.fax পূর্ণসংখ্যা Registrant Fax. 0 means Hide and 1 means Show. 0
whois_privacy.email পূর্ণসংখ্যা Registrant Email. 0 means Hide and 1 means Show. 0

প্রতিক্রিয়ার প্যারামিটার

প্যারামিটারের নাম ধরন বিবরণ
domain স্ট্রিং Domain name.
whois_privacy অবজেক্ট All saved registrant visibility settings. Each field uses 0 for Hide or 1 for Show. Unset fields are omitted.
whois_privacy.organization পূর্ণসংখ্যা Registrant Organization. 0 means Hide and 1 means Show.
whois_privacy.name পূর্ণসংখ্যা Registrant Name. 0 means Hide and 1 means Show.
whois_privacy.address পূর্ণসংখ্যা Registrant Address. 0 means Hide and 1 means Show.
whois_privacy.phone পূর্ণসংখ্যা Registrant Phone. 0 means Hide and 1 means Show.
whois_privacy.fax পূর্ণসংখ্যা Registrant Fax. 0 means Hide and 1 means Show.
whois_privacy.email পূর্ণসংখ্যা Registrant Email. 0 means Hide and 1 means Show.

অনুরোধের উদাহরণ

                                    
{
    curl -g -X POST 'https://api.nicenic.net/v2/?category=domain&action=set_whois_privacy&domain={domain}&whois_privacy[organization]=0&whois_privacy[name]=0&whois_privacy[address]=0&whois_privacy[phone]=1&whois_privacy[email]=0'
      -H "Authorization: username:api_secret"
      -H "Content-Type: application/json"
}

ফলাফল ফেরত দিন

0 OK সফল রেসপন্স
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        "domain" : "example.com",
        "whois_privacy" : {
            "organization" : 0,
            "name" : 0,
            "address" : 0,
            "phone" : 1,
            "email" : 0
        }        
    }
}
400 ব্যাড রিকোয়েস্ট
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
    "data" : []
}
কপিরাইট © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. সর্বস্বত্ব সংরক্ষিত।