deleteSite

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 ArcGISIdentityManager
fetch Optional function(input: RequestInfo, init: RequestInit) : Promise<Response>

The implementation of fetch to use. Defaults to a global fetch.

hubApiUrl Optional string
isPortal Optional boolean
portalSelf Optional IHubRequestOptionsPortalSelf

Returns

Promise<void>

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