API Management 10.4 | Using CentraSite | Policy Management | Managing Design-Time and Change-Time Policies through Command Line Interface | Deleting Action Template
 
Deleting Action Template
Pre-requisites:
To delete an action template through CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool delete Action Template for this purpose.
Important: You cannot delete an action template that is currently associated with one or more active policies. You need to deactivate the associated policies before deleting it.
* To delete an existing action template
*Run the command delete Action Template.
The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd delete Action Template [-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 CentraSite user identified by the parameter USER-ID.
ID
The ID of the action template you want to delete. You can specify the UDDI key of the template using an optional prefix uddi:.
For example:
uddi:95f79c00-52a9-11e4-969c-d398081308d4
Examples (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd delete Action Template -url http://localhost:53307/CentraSite/CentraSite –user Administrator –password manage -id uddi:95f79c00-52a9-11e4-969c-d398081308d4
The response to this command could be:
Executing the command : delete Action Template

Action Template named Custom Action Template is deleted successfully

Successfully executed the command : delete Action Template

Copyright © 2015- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release