removePage

Function

Remove a Page Item. This deletes the item.

  • removePage(idOrModel: string | IModel, requestOptions: IUserRequestOptions) : Promise<{
    itemId:
    string
    success:
    boolean
    }>

Parameters

Parameter Type Default Notes
idOrModel Required string | IModel

Model object or Item Id

requestOptions Required IUserRequestOptions

Available requestOptions

Property Type Notes

Returns

Promise<{
itemId:
string
success:
boolean
}>

Function defined in packages/sites/src/pages/remove-page.ts:18