dnsZone

Configure a site's DNS

Creates any missing DNS zones and records for the site's custom domain and domain aliases. This usually runs automatically when the custom domain is set.

put/sites/{site_id}/dns

Request

  • Base URL
    https://api.netlify.com/api/v1
  • URL
    https://api.netlify.com/api/v1/sites/{site_id}/dns
  • Auth
    OAuth 2
    Implicit: https://app.netlify.com/authorize

Response

OK

idstring
namestring
errorsstring[]
supported_record_typesstring[]
user_idstring
created_atstring dateTime
updated_atstring dateTime
dns_serversstring[]
account_idstring
site_idstring
account_slugstring
account_namestring
domainstring
ipv6_enabledboolean
dedicatedboolean

Changes

No recorded changes to this operation across all 65 revisions of this API.