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 UserSession
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