PresentationsAdminServicesDeleteContentUnits Method
|
Deletes one or more content units
Namespace:
IngeniuxCMService
Assembly:
IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax public XHRServiceResponseGeneric<string[]> DeleteContentUnits(
ContentUnitsDeleteInput data
)
Public Function DeleteContentUnits (
data As ContentUnitsDeleteInput
) As XHRServiceResponseGeneric(Of String())
public:
virtual XHRServiceResponseGeneric<array<String^>^>^ DeleteContentUnits(
ContentUnitsDeleteInput^ data
) sealed
abstract DeleteContentUnits :
data : ContentUnitsDeleteInput -> XHRServiceResponseGeneric<string[]>
override DeleteContentUnits :
data : ContentUnitsDeleteInput -> XHRServiceResponseGeneric<string[]>
Parameters
- data
- Type: ContentUnitsDeleteInput
Information on ids of the content units to delete, and whether to delete their view assets
Examples Sample JSON input
{
"ids": [
"ContentUnits/1",
"ContentUnits/34"
],
"deleteViews": false
}
Return Value
Type:
XHRServiceResponseGenericStringMessage containing the ids of the content units just deleted
Examples Sample JSON return
{
"ContentFreezeEndTime": "",
"ContentFreezeStartTime": "",
"code": 0,
"error": null,
"message": [
"ContentUnits\/1",
"ContentUnits\/34"
]
}
See Also