removeDomainByHostname

Function

Remove an entry from the domain service, based on a hostname

Callers must ensure the user is a member of the org that owns the domain entry else the call will fail.

  • removeDomainByHostname(hostname: string, hubRequestOptions: IHubRequestOptions) : Promise<void>

Parameters

Parameter Type Default Notes
hostname Required string
hubRequestOptions Required IHubRequestOptions

Returns

Promise<void>

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