Add a custom domain
add_custom_domainAttach a new hostname to an existing deployed app in pending DNS state and return DNS setup instructions. Requires dns_mode: subdomain_cname or apex_address. Rejects hostnames that are already registered. After configuring DNS with your provider, call verify_custom_domain to activate routing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | Target app id | |
| domain | Yes | Hostname to connect to this app | |
| dns_mode | Yes | DNS routing mode for this hostname |