Skip to main content
POST
Publish a domain
Turn the custom domain on or off. Publishing requires every DNS record to be connected. You need the domains tool.
string
required
The newsroom id.
boolean
required
True publishes the domain. False takes it offline.
object
hostname, status, published, dnsRecords, and lastCheckedAt.
object
The free domain, when one exists: code, published, and redirect.
string
Whether the custom domain was published or unpublished.