Replace current maindomain with different one

Updates the site's domain name

Log in to see full request history
Path Params
integer
required

ID of the Site you are interacting with

Body Params

New maindomain.

string

Site's new domain name

string

Switch between the Live domain name and CDN URL. WARNING: WordPress can only have 1 URL and this will break your live site if you switch to CDN URL

boolean
Defaults to false

Use this in conjunction with active_wordpress_domain set to cdn_url to revert this site back to a cdn_url from live domain. Warning: This will cause the live domain to no longer function

boolean
Defaults to false

Use this in conjunction with active_wordpress_domain set to cdn_url to remove the additional domains from the site when reverting back to cdn_url

boolean
Defaults to false

If SNR fails, save the site anyway. Used for debugging

Responses

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