Disconnect a custom domain
remove_custom_domainDetach a custom domain from a site (apex + www) and delete it from Sitelas's records — for a typo'd domain, a swap to another, or to stop serving a hostname (the *.sitelas.com address keeps working). Requires confirm: true. Afterwards the owner removes the DNS records at their registrar; Sitelas can't.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Hostname to remove. Must match the exact domain stored against this site. | |
| confirm | Yes | Required boolean — pass `true` to confirm. Forces deliberate removal: the domain is detached from the Vercel project AND deleted from Sitelas's records. | |
| site_id | Yes | The site UUID the domain is attached to. |