addSiteDomains

Function

Given a Site Model, register the domains with the Domain Service.

For Portal, this will return a sparse entry that contains just the portal clientKey

This should only be used when creating a site. To update domains related to a site, use the addDomain and removeDomain functions directly

Parameters

Parameter Type Default Notes
model Required IModel

site model

hubRequestOptions Required IHubRequestOptions

Returns

Promise<any[]>

Function defined in common/src/sites/domains/addSiteDomains.ts:16