unlinkPagesFromSite

Function

Given a site, update all the linked page items and remove their references to the site

  • unlinkPagesFromSite(siteModel: IModel, requestOptions: IHubRequestOptions) : Promise<[Object, Object, Object, Object, Object, Object, Object, Object, Object, Object]>

Parameters

Parameter Type Default Notes
siteModel Required IModel

Site Model

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<[Object, Object, Object, Object, Object, Object, Object, Object, Object, Object]>

Function defined in sites/src/unlink-pages-from-site.ts:16