Tool
deployment_domain_add
Attach a custom domain to an environment.
Behavior
- Returns
-
The domain record plus the CNAME and TXT DNS entries to publish.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| environmentId | uuid | • | Environment to attach the domain to. |
| hostname | string | • | The custom hostname, e.g. app.example.com (3–253 chars). |
| defaultServiceId | uuid | • | Service that serves traffic for this hostname by default. |
Try it
Attach app.example.com to my production environment, routing to the web service.