savePublishedStatus
Saves the published status of a site or page model leaving everything else on the model alone.
Parameters
| Parameter | Type | Default | Notes |
|---|---|---|---|
| siteOrPageModel Required | IModel | ||
| requestOptions Required | IHubUserRequestOptions |
Available requestOptions
| Property | Type | Notes |
|---|---|---|
| ArcGISIdentityManager | ||
| Optional Inherited | function(input: RequestInfo, init: RequestInit) : Promise<Response> |
The implementation of |
| Optional Inherited | string | |
| Optional Inherited | boolean | |
| Optional Inherited | IHubRequestOptionsPortalSelf |
Returns
Promise<IUpdateItemResponse>
| Property | Type | Notes |
|---|
Function defined in sites/src/drafts/save-published-status.ts:15