Tool
organization_domains_add
Adds a custom domain to a product.
Adds a custom domain to a product. The domain always starts in external (self-managed DNS) mode; when the product has an active Cloudflare connector that can write DNS, the response carries a managedDns hint naming the connector and the tool that switches the domain to managed mode.
Behavior
- HTTP
POST /governance/api/v1/products/:productId/domains
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| domain | string | • | No description in the catalog. |
| productId | string | • | No description in the catalog. |
Response
| Field | Type | Always | Description |
|---|---|---|---|
| id | string | • | |
| mode | string | • | |
| domain | string | • | |
| createdAt | string | • | |
| createdBy | string | • | |
| productId | string | • | |
| managedDns | object | • | |
| providerConnectorId | string | • |
Try it
Adds a custom domain to a product.