domains

GET /v1/domains/{domainId}/settings

Get a domain's registrar settings.

Të gjitha pikat e skajshme domains

Autentifikimi

Drgoni një çelës API si një token mbajtës. Çelësi duhet të ketë lejen sites.view; një çelës pa të refuzohet me 403, jo 404.

Ky pikëndalim nuk pranon id të organizatës. Çelësi juaj tashmë identifikon organizatën së cilës i përket dhe përgjigjja kufizohet vetëm për atë.

Provoje

Zëvendësoni çdo gjë brenda kllapave këndore me vlerat tuaja dhe vendbanuesin e çelësit me një çelës nga paneli juaj.

curl -X GET https://api.zinndigital.com/v1/domains/{domainId}/settings \
  -H "Authorization: Bearer zdk_live_…"

Jeni kyçur? Konsola e API-së në panelin tuaj plotëson ID-në tuaj reale të organizatës dhe çelësin tuaj, dhe ekzekuton kërkesën kundrejt API-së live, kështu që ju mund të shihni përgjigjen aktuale. Hapni këtë pikë fundore në konsolën e API-së

Detajet

Auto-renew, registrar transfer lock, DNSSEC and WHOIS privacy for an owned domain. Served from our mirror of the registrar's state rather than a live vendor round-trip, so a detail screen never waits on a third party. Requires `sites.view`. **422 also covers a refusal that will never succeed.** A domain registered through the Cloudflare route has no API-writable transfer lock or WHOIS privacy — Cloudflare exposes neither for a registration made through its registrations endpoint — so the answer names the Cloudflare dashboard and offers support rather than `503 try again`, which is a sentence a customer would act on for ever.

Parametrat

EmriLlojiKërkohetÇfarë është kjo
domainId (path)UuidPoThe domain's id.

Përgjigja

EmriLlojiKërkohetÇfarë është kjo
registrarstringPoThe registrar driver holding this domain (a driver name, never a vendor id).
auto_renewbooleanPoWhether we renew it before expiry. Ours, not the registrar's.
transfer_lockbooleanPoRegistrar transfer lock (`clientTransferProhibited`) — blocks an outbound transfer.
dnssec_enabledbooleanPo
privacy_enabledbooleanPoWHOIS privacy / registrant redaction, where the TLD supports it.

Gabimet që ky pikëndalim mund të kthejë

401 · 403 · 404 · 422 · 429