TaxonomyTreeServicesRemoveCategory Method Ingeniux CMS Web Services API

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: 9.0.565.0 (9.0.565)
Syntax

public XHRServiceResponseGeneric<CategoryRemovalInfo> RemoveCategory(
	CategoryAssociationManipulationInput data
)

Parameters

data
Type: CategoryAssociationManipulationInput

Object containing the Id of the Category to delete

Examples

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

Return Value

Type: XHRServiceResponseGenericCategoryRemovalInfo

Object containing the deleted Category Node's Id

Examples

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

Reference