getUniqueDomainNamePortal

Function

Ensure a unique domain name by checking for and incrementing a subdomain

  • getUniqueDomainNamePortal(subdomain: string, hubRequestOptions: IHubRequestOptions, step: number) : Promise<string>

Parameters

Parameter Type Default Notes
subdomain Required string

Subdomain to ensure is unique

hubRequestOptions Required IHubRequestOptions
step Optional number 0

Step number

Returns

Promise<string>

Function defined in packages/common/src/sites/domains/get-unique-domain-name-portal.ts:11