Share a custom domain
Shares a verified custom domain with another workspace of the same account by copying the domain record; the ACM certificate and CloudFront tenant stay with the owner and are reused (not re-provisioned). Use targetWorkspace “account” to make the domain usable by every workspace of the account. Cross-account sharing is not supported.
Authorizations
OAuth2 authentication with JWT tokens
Path Parameters
Name of the custom domain
Body
Name of the workspace to share the domain with, or "account" to share with every workspace of the account.
Response
successful operation
Custom domain for preview deployments The custom domain represents a base domain (e.g., example.com) that will be used to serve preview deployments. Each preview will be accessible at a subdomain: .preview. (e.g., abc123.preview.example.com)
