Replace current maindomain with different oneAsk AIput https://api.rocket.net/v1/sites/{id}/maindomainUpdates the site's domain namePath ParamsidintegerrequiredID of the Site you are interacting withBody ParamsNew maindomain.domainstringSite's new domain nameactive_wordpress_domainstringenumSwitch 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 URLcdn_urllive_domainAllowed:cdn_urllive_domainremove_live_domainbooleanDefaults to falseUse 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 and will remove all additional domainstruefalseconvert_addon_to_maindomainbooleanDefaults to falseUse this to convert an addon domain to the maindomain. The domain passed will be converted from an addon domain to the maindomain and the existing maindomain will be removed.truefalseResponses 200OK 400Bad Request 401Authentication failed 403Not authorized to access endpoint 404Given site not found for user 405Invalid input 500Internal errorUpdated 6 months ago