Click or drag to resize

TaxonomyTreeServicesRemoveCategory Method


Permenantly deletes a Category from the Taxonomy system. This operation also removes the association of this Category to all Pages.

Namespace: IngeniuxCMService
Assembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.6.492
Syntax
public XHRServiceResponseGeneric<CategoryRemovalInfo> RemoveCategory(
	CategoryAssociationManipulationInput data
)

Parameters

data  CategoryAssociationManipulationInput

Object containing the Id of the Category to delete

Example
Sample JSON input
JavaScript
{
    "data": {
        "categoryId": "CategoryNodes/65"
    }
}

Return Value

XHRServiceResponseGenericCategoryRemovalInfo

Object containing the deleted Category Node's Id

Example
Sample JSON return
JavaScript
    "code": 0,
    "error": null,
    "message": {
        "removedCategoryId": "CategoryNodes\/65"
    }
}
Remarks

If Category doesn't exist, returns error status.

This operation requires current User to have the permission to manager Taxonomy System. If not, returns error status.

See Also