domains
GET /v1/domains/{domainId}/settings
Get a domain's registrar settings.
Autentizace
Zašlete API klíč jako nosný token (bearer token). Klíč musí mít oprávnění sites.view; klíč bez něj je odmítnut s kódem 403, nikoli 404.
Tento koncový bod nevyžaduje žádné ID organizace. Váš klíč již identifikuje organizaci, ke které patří, a odpověď je na ni omezena.
Vyzvednout
Nahraďte cokoli v závorkách vlastními hodnotami a zástupný symbol klíče klíčem z vašeho řídicího panelu.
curl -X GET https://api.zinndigital.com/v1/domains/{domainId}/settings \
-H "Authorization: Bearer zdk_live_…"Přihlášeni? Konzole API ve vašem dashboardu automaticky doplní vaše skutečné ID organizace i váš vlastní klíč a odešle požadavek na živé API, abyste viděli reálnou odpověď. Otevřete tento koncový bod v konzoli API
Podrobnosti
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.
Parametry
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
domainId (path) | Uuid | Ano | The domain's id. |
Odpověď
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
registrar | string | Ano | The registrar driver holding this domain (a driver name, never a vendor id). |
auto_renew | boolean | Ano | Whether we renew it before expiry. Ours, not the registrar's. |
transfer_lock | boolean | Ano | Registrar transfer lock (`clientTransferProhibited`) — blocks an outbound transfer. |
dnssec_enabled | boolean | Ano | — |
privacy_enabled | boolean | Ano | WHOIS privacy / registrant redaction, where the TLD supports it. |
Chyby, které může tento koncový bod vrátit
401 · 403 · 404 · 422 · 429