Make primary domain
make_primary_domain(needs account token) Chooses which of a site's domains is its main name: the one that serves the site and that search engines and shared links use. The site's other domains redirect (301) to it. confirm=true applies it. Does not charge.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The address of a site on this account, for example myproject.dropthehassle.app. | |
| domain | Yes | One of the domains already on the site. | |
| confirm | Yes | True applies the change. False leaves it unchanged and the reply describes what would change. |