Set domain
set_domainAttach a custom domain (apex + www pair, or one subdomain) and return the DNS records to create, specific to this project. Doesn't publish; clear_domain detaches. 409 = a variant is on another Vercel project; 403 upgrade = plan domain limit. Details: get_style_reference({ topic: "domains" }).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Site id. | |
| domain | Yes | Apex or www form; both variants are registered. Detach with clear_domain. | |
| redirectMode | No | to-apex (default, www → apex 308) | to-www | none. |