CentraSite 10.7 | CentraSite User’s Guide | Runtime Governance | Gateway Management | Managing Gateways through Command Line Interface | Deleting Gateway
 
Deleting Gateway
Pre-requisites:
To delete a gateway through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named remove gateway for this purpose.
*To delete a gateway
*Run the command remove gateway.
The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd remove gateway -user <USER-ID> -password <PASSWORD> [-url <CENTRASITE-URL>] -gateway <GATEWAY>
The input parameters are:
Parameter
Description
CENTRASITE-URLurl
(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
Name of the gateway you want to delete.
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd remove gateway -user Administrator -password manage -url http://localhost:53307/CentraSite/CentraSite -gateway DevMediator
The response to this command can be:
Executing the command : remove gateway
Gateway DevMediator removed

Successfully executed the command : remove gateway