Deleting Action Category
Pre-requisites:
To delete an existing action category through CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named delete Action Category for this purpose.
When deleting an action category, keep the following points in mind:
Deleting a category deletes all the action templates that are classified in that category.
If the category contains an action template that is currently used by one or more active policies, then the action category cannot be deleted.
To delete an existing action category
Run the command delete Action Category. The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd delete Action Category [-url <CENTRASITE-URL>] -user <USER-ID> -password <PASSWORD> -id <ID>
The input parameters are:
Parameter | Description |
CENTRASITE-URL | (Optional). The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite. |
USER-ID | The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator. |
PASSWORD | The password for the registered CentraSite user identified by the parameter USER-ID. |
ID | The ID of the action category you want to delete. You can specify the UDDI key of the category using an optional prefix uddi:. For example: uddi:137738d6-c66b-11e4-8896-da7def414f92 |
Examples (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd delete Action Category -url http://localhost:53307/CentraSite/CentraSite –user Administrator –password manage –id uddi:137738d6-c66b-11e4-8896-da7def414f92
The response to this command could be:
Executing the command : delete Action Category
Action Category named Custom Action Category is deleted successfully
Successfully executed the command : delete Action Category