reseller

PUT /v1/reseller/nameservers

Claim a domain for your own nameservers.

सबै reseller इन्डपइन्टहरू

प्रमाणीकरण

एपिआई कुञ्जीलाई बियरर टोकन (bearer token) को रूपमा पठाउनुहोस्। कुञ्जीसँग reseller.manage अनुमति हुनुपर्छ; अनुमति नभएको कुञ्जीलाई 404 होइन, 403 मार्फत अस्वीकार गरिन्छ।

तपाईंको संस्थाको आइडी राख्ने ठाउँ

यो इन्डपोइन्टले org_id लाई क्वेरी प्यारामिटरको रूपमा लिन्छ। यसलाई छुटाउनुभयो भने कलले तपाईंको सम्पूर्ण टेनेन्सी सबट्रीलाई समेट्छ; यसलाई एउटा संस्थामा मात्र सीमित गर्न पठाउनुहोस्।

तपाईंको संस्थाको आइडी (ID) तपाईंको ड्यासबोर्डमा रहेको API कुञ्जीहरू (keys) स्क्रिनमा, कुञ्जीको छेउमा हुन्छ। तपाईंले गर्ने प्रत्येक कलमा यही आइडी प्रयोग हुन्छ।

प्रयास गर्नुहोस्

कोणीय कोष्ठकभित्र भएका जुनसुकै कुरालाई आफ्नो मानहरूद्वारा बदल्नुहोस्, र मुख्य स्थानहोल्डरलाई तपाईंको ड्यासबोर्डको कुञ्जीद्वारा बदल्नुहोस्।

curl -X PUT https://api.zinndigital.com/v1/reseller/nameservers \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "domain": <string> }'

लगइन गर्नुभएको छ? तपाईंको ड्यासबोर्डमा रहेको API कन्सोलले तपाईंको वास्तविक संस्थाको आईडी र आफ्नै कुञ्जी भरिदिन्छ, र लाइभ API विरुद्ध अनुरोध चलाउँछ ताकि तपाईंले वास्तविक प्रतिक्रिया हेर्न सक्नुहोस्। यो एन्डपोइन्टलाई API कन्सोलमा खोल्नुहोस्

विवरणहरू

From `acme-hosting.com` we build `ns1.acme-hosting.com` and `ns2.acme-hosting.com`, served from Zinn Digital®'s own anycast DNS estate. Requires `reseller.manage` and white-label on your plan. ⛔ Claiming serves **nothing** yet. The glue records live in *your* domain, at *your* registrar, so only you can create them — publish the `A` records this returns, then call `/verify`. Until that measurement passes, your clients' zones keep the platform nameservers, because delegating a live domain to a nameserver that does not answer takes that domain off the internet. A domain Zinn® already operates is refused with `422`; a domain another reseller already holds ⇒ `409`.

प्यारामिटरहरू

नामप्रकारआवश्यकयो के हो
org_id (query)UuidहैनThe organization this call acts on. Optional for a caller with exactly one direct membership; **required** for anyone with more than one — which is every reseller and every agen…

अनुरोध बडी

नामप्रकारआवश्यकयो के हो
domainstringहुन्छJust the domain you own — `acme-hosting.com`, with no scheme and no `ns1.` prefix. We add `ns1` and `ns2`. A domain Zinn® operates is refused.

प्रतिक्रिया

नामप्रकारआवश्यकयो के हो
domainstringहुन्छThe reseller's own domain, or `""` when they have not claimed one.
hostnamesstring[]हुन्छDerived from `domain` — `ns1.acme-hosting.com`, `ns2.acme-hosting.com`. Two, because registries reject a single-nameserver delegation.
glueResellerNameserverGlue[]हुन्छThe `A` records the reseller must register at THEIR registrar. Nothing we hold can create them: they are a registry operation on a domain we do not sponsor.
servingbooleanहुन्छ
statusstringहुन्छOne sentence from the last check, for the screen and for support.
vendorstringहुन्छWhich of our anycast DNS providers serves these hostnames.
checked_atstringहैनWhen it was last CHECKED, whatever the outcome. `null` means nobody has looked — a different fact from "checked and not serving".
checkedbooleanहैनVerify responses only. `false` means our resolver could not answer and **nothing was changed** — not that the glue is missing. The two send a reseller to opposite actions.
supported_vendorsstring[]हैनThe anycast providers that can serve a nameserver brand of your own.

यो इन्डपोइन्टले फर्काउन सक्ने त्रुटिहरू

401 · 403 · 409 · 422 · 429