Use the deleteWSGWGatewayService command to delete a gateway service configuration.
You can delete a gateway service configuration by using the wsadmin tool as described in this topic, or by using the administrative console as described in Deleting gateway service configurations.
To run the command, use the AdminTask object of the wsadmin scripting client.
The wsadmin scripting client is run from Qshell. For more information, see Configuring Qshell to run WebSphere® Application Server scripts.
print AdminTask.help('WSGateway')
print AdminTask.help('command_name')
AdminConfig.save()
This command deletes a gateway service.
ObjectName of the GatewayService object
None.
AdminTask.deleteWSGWGatewayService(gwService)
$AdminTask deleteWSGWGatewayService $gwService