Set a domain for a Site

This can only be done on sites that are not staging sites. Once this is done, you must use PUT to change the maindomain

Log in to see full request history
Path Params
integer
required

ID of the Site you are interacting with

Body Params

Initial main domain information.

string

Site's domain name

boolean
Defaults to false

When set, DNS records for the live domain will be returned but the WordPress install will stay on the CDN URL (WordPress can only have one domain). This is useful for testing the site before going live while setting TXT records for SSL and Hostname validation

Responses

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json