What it does
Disconnect a custom domain from a site. Removing the primary makes the next domain primary (a live one first, reported as promoted); with none left, the site is served on its pagehive.space address again.
Plans
Needs a paid plan: Basic, Pro or Ultra. On other plans your agent gets an error that says so. See Limits for what each plan includes.
Parameters
| Name | Type | About |
|---|---|---|
site_idrequired | string | The id of the site. list_sites gives the ids of your sites. |
domain_idrequired | string | The id of the domain, from list_site_domains. |
Example
Call remove_site_domain with these arguments:
{
"site_id": "01a1…",
"domain_id": "01a1…"
}
Ids like 01a1… stand for your own. list_sites and list_tables give you the real ones.
Related guides
- Use your own domainServe a site on www.example.com instead of pagehive.space.