domains
GET /v1/domains/{domainId}/settings
Get a domain's registrar settings.
Kimlik Doğrulama
Bearer token olarak bir API anahtarı gönderin. Anahtar sites.view iznine sahip olmalıdır; bu izne sahip olmayan bir anahtar 404 ile değil, 403 ile reddedilir.
Bu uç nokta hiçbir organizasyon kimliği almaz. Anahtarınız zaten ait olduğu organizasyonu tanımlar ve yanıt bu organizasyonla sınırlandırılır.
Dene
Köşeli parantez içindeki her şeyi kendi değerlerinizle ve anahtar yer tutucusunu panonuzdan bir anahtarla değiştirin.
curl -X GET https://api.zinndigital.com/v1/domains/{domainId}/settings \
-H "Authorization: Bearer zdk_live_…"Oturum açtınız mı? Panonuzdaki API konsolu, gerçek organizasyon kimliğinizi ve kendi anahtarınızı otomatik olarak doldurur ve isteği canlı API üzerinde çalıştırarak gerçek yanıtı görmenizi sağlar. Bu uç noktayı API konsolunda açın
Ayrıntılar
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.
Parametreler
| Ad | Tür | Zorunlu | Ne olduğu |
|---|---|---|---|
domainId (path) | Uuid | Evet | The domain's id. |
Yanıt
| Ad | Tür | Zorunlu | Ne olduğu |
|---|---|---|---|
registrar | string | Evet | The registrar driver holding this domain (a driver name, never a vendor id). |
auto_renew | boolean | Evet | Whether we renew it before expiry. Ours, not the registrar's. |
transfer_lock | boolean | Evet | Registrar transfer lock (`clientTransferProhibited`) — blocks an outbound transfer. |
dnssec_enabled | boolean | Evet | — |
privacy_enabled | boolean | Evet | WHOIS privacy / registrant redaction, where the TLD supports it. |
Bu uç noktanın dönderebileceği hatalar
401 · 403 · 404 · 422 · 429