domains

PUT /v1/domains/{domainId}/settings

Change a domain's registrar settings.

すべての domains エンドポイント

認証

ベアラー トークンとして API キーを送信します。キーには domains.dns.manage 権限が付与されている必要があります。権限のないキーは 404 ではなく 403 で拒否されます。

このエンドポイントは組織IDを受け付けません。お使いのキーによって所属する組織がすでに特定されており、レスポンスはその組織にスコープされます。

試してみる

アングルブラケット内のすべてをご自身の値に置き換え、キーのプレースホルダーをご利用中のダッシュボードのキーに置き換えてください。

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

ログインしていますか?ダッシュボード内のAPIコンソールでは、実際の組織IDやお客様ご自身のキーが自動入力され、ライブAPIに対してリクエストが実行されるため、実際のレスポンスを確認することができます。 API コンソールでこのエンドポイントを開く

詳細

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

パラメータ

名前タイプ必須これがその内容です
domainId (path)UuidはいThe domain's id.

リクエスト本文

名前タイプ必須これがその内容です
auto_renewbooleanいいえ
transfer_lockbooleanいいえ
dnssec_enabledbooleanいいえ
privacy_enabledbooleanいいえ

返信

名前タイプ必須これがその内容です
registrarstringはいThe registrar driver holding this domain (a driver name, never a vendor id).
auto_renewbooleanはいWhether we renew it before expiry. Ours, not the registrar's.
transfer_lockbooleanはいRegistrar transfer lock (`clientTransferProhibited`) — blocks an outbound transfer.
dnssec_enabledbooleanはい
privacy_enabledbooleanはいWHOIS privacy / registrant redaction, where the TLD supports it.

このエンドポイントが返すエラー

401 · 403 · 404 · 422 · 429 · 503