add_custom_domain
Connect the owner's custom hostname and return the DNS records they must configure.
Requires project administrator access. Pass a unique idempotency_key for this connection attempt; reuse it for retries, and use a new one after cancel/re-add. Call get_custom_domain first. Do not replace an existing domain implicitly. A root domain defaults to www as the primary hostname. Set use_www=False only when the owner explicitly requests the root hostname as primary. Present the returned DNS records exactly. The backend checks DNS automatically and enables SSL; the owner never needs to click Verify or call a validate API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| use_www | No | ||
| project_id | Yes | ||
| idempotency_key | Yes |