domains

PUT /v1/domains/{domainId}/settings

Change a domain's registrar settings.

All domains endpoints

Authentication

Send an API key as a bearer token. The key must carry the domains.dns.manage permission; a key without it is refused with 403, not 404.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X PUT https://api.zinndigital.com/v1/domains/{domainId}/settings \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

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`.

Parameters

NameTypeRequiredWhat it is
domainId (path)UuidYesThe domain's id.

Request body

NameTypeRequiredWhat it is
auto_renewbooleanNo
transfer_lockbooleanNo
dnssec_enabledbooleanNo
privacy_enabledbooleanNo

Response

NameTypeRequiredWhat it is
registrarstringYesThe registrar driver holding this domain (a driver name, never a vendor id).
auto_renewbooleanYesWhether we renew it before expiry. Ours, not the registrar's.
transfer_lockbooleanYesRegistrar transfer lock (`clientTransferProhibited`) — blocks an outbound transfer.
dnssec_enabledbooleanYes
privacy_enabledbooleanYesWHOIS privacy / registrant redaction, where the TLD supports it.

Errors this endpoint can return

401 · 403 · 404 · 422 · 429 · 503