domains
PUT /v1/domains/{domainId}/settings
Change a domain's registrar settings.
Kimlik Doğrulama
Bearer token olarak bir API anahtarı gönderin. Anahtar domains.dns.manage 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 PUT https://api.zinndigital.com/v1/domains/{domainId}/settings \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ }'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
A **partial** update: an omitted field is left alone, never reset. Each changed flag is applied at the **registrar first** and mirrored onto our record only once it succeeds — so this endpoint never reports a protection (a transfer lock, WHOIS privacy) that the registrar has not actually applied. `auto_renew` is ours alone: we drive renewals, so it takes no registrar call. A registrar that refuses the change is a `503`. Requires `domains.dns.manage`.
Parametreler
| Ad | Tür | Zorunlu | Ne olduğu |
|---|---|---|---|
domainId (path) | Uuid | Evet | The domain's id. |
İstek gövdesi
| Ad | Tür | Zorunlu | Ne olduğu |
|---|---|---|---|
auto_renew | boolean | Hayır | — |
transfer_lock | boolean | Hayır | — |
dnssec_enabled | boolean | Hayır | — |
privacy_enabled | boolean | Hayır | — |
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 · 503