Click or drag to resize

PresentationsAdminServicesDeleteContentUnits Method


Deletes one or more content units

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax
public XHRServiceResponseGeneric<string[]> DeleteContentUnits(
	ContentUnitsDeleteInput data
)

Parameters

data
Type: ContentUnitsDeleteInput

Information on ids of the content units to delete, and whether to delete their view assets

Examples

Sample JSON input

JavaScript
{
    "ids": [
        "ContentUnits/1",
        "ContentUnits/34"
    ],
    "deleteViews": false
}

Return Value

Type: XHRServiceResponseGenericString

Message containing the ids of the content units just deleted

Examples

Sample JSON return

JavaScript
{
    "ContentFreezeEndTime": "",
    "ContentFreezeStartTime": "",
    "code": 0,
    "error": null,
    "message": [
        "ContentUnits\/1",
        "ContentUnits\/34"
    ]
    }
See Also