Category Component 25.4
Category Component Help

# CategoryActivate

Allows you to activate or deactivate a category.

You must specify the category by setting Category. To activate a category, set Active to `True`. The default value (`False`) deactivates the category.

NOTE: This is an administrative action that can be sent only by users that belong to an authorization role that allows the `Admin` standard role, or which enables the action explicitly. See Authorization Roles Configuration Parameters.

## Example

    http://12.3.4.56:9020/action=CategoryActivate&Category=32349987602210557106&Active=True

This action activates the category with the ID `32349987602210557106`.

## Required Parameters

The following action parameters are required.

Parameter | Description
--- | ---
Category | The ID of the category to activate or deactivate.

## Optional Parameters

This action accepts the following optional parameters.

Parameter | Description
--- | ---
Active | Whether to activate or deactivate the category.
Recurse | Whether to activate or deactivate the children of the category.
UserName | The name of the user that sends the action.

This action accepts the following standard ACI action parameters.

Parameter | Description
--- | ---
ActionID | A string to use to identify an ACI action.
FileName | The file to write output to.
ForceTemplateRefresh | Forces the server to load the template from disk.
Output | Writes output to a file.
ResponseFormat | The format of the action output.
Template | The template to use for the action output.
TemplateParamCSVs | A list of variables to use for the specified template.

Copyright 2025 Open Text
Version 25.4 | Last updated October 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Category Component 25.4

Topic Title: CategoryActivate