deleteDraft

Function

Given an item id, removes the current draft resource if exists

Parameters

Parameter Type Default Notes
siteOrPageModel Required IModel
hubRequestOptions Required IHubRequestOptions

Returns

Promise<any[]>

Function defined in sites/src/drafts/delete-draft.ts:10