CentraSite 10.11 | CentraSite User’s Guide | Runtime Governance | Virtual Service Asset Management | Managing Virtual Service Assets through the Command Line Interface | Bulk Undeploying Virtual Services from Gateway
 
Bulk Undeploying Virtual Services from Gateway
Pre-requisites:
To undeploy (that is, unpublish) multiple virtual services from an API Gateway or a Mediator through the CentraSite CLI, you must have the CentraSite Administrator role.
CentraSite provides a command tool named bulk undeploy for this purpose.
*To undeploy multiple virtual services from a gateway
*Run the command bulk undeploy.
The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd bulk undeploy [-url <CENTRASITE-URL>] -user <USER-ID> -password <PASSWORD> -gateway <GATEWAY>
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.
GATEWAY
The gateway from which all the virtual services are to be undeployed.
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd bulk undeploy -url http://localhost:53307/CentraSite/CentraSite -user Administrator -password manage -gateway Gateway1