destroySite

Function

Remove a Hub Site

This simply removes the Site item, and it's associated domain records. This does not remove any Teams/Groups or content associated with the Site

Parameters

Parameter Type Default Notes
id Required string
requestOptions Required IHubRequestOptions

Available requestOptions

Property Type Notes
authentication Optional UserSession
hubApiUrl Optional string
isPortal Optional boolean
portalSelf Optional IHubRequestOptionsPortalSelf

Returns

Promise<void>

Function defined in common/src/sites/HubSites.ts:416