Connect a domain
add_domainConnects the user's own domain to a site (owner; paid plans; www is easiest): returns the DNS records, a one-click apply_url when the DNS host supports it, and share_url for whoever runs the DNS; again: its status. claim: true proves a reserved domain or one another account holds by a TXT record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| claim | No | true: prove a reserved domain or one another account holds with a DNS TXT record; call again to check | |
| domain | No | Same as hostname | |
| hostname | No | The domain, e.g. www.example.com (no https://) | |
| confirm_root | No | true: the root domain anyway (not www) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||