PageCommandsServicesDelete Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<PageCommandReturnInformation> Delete( string[] pageIds, string pubTarget )
Information of the Page Command action and the properties of deleted Pages, without properties information
{
"code": 0,
"error": null,
"message": {
"contentChanged": false,
"pageAction": "delete",
"pageProperties": null,
"pages": [{
"id": "x111",
"props": null
}, {
"id": "x110",
"props": null
}],
"queryString": null
}
}If Page Ids are null or empty, or any of the Pages don't exist, return error status.
If current User doesn't have full control access of any of the Pages, return error status.