Use the deleteWSGWInstance command to delete a gateway instance.
You can delete a gateway instance by using the wsadmin tool as described in this topic, or by using the administrative console as described in Deleting gateway instances.
To run the command, use the AdminTask object of the wsadmin scripting client.
print AdminTask.help('WSGateway')
print AdminTask.help('command_name')
AdminConfig.save()
This command deletes a gateway instance.
ObjectName of the WSGWInstance object
None.
AdminTask.deleteWSGWInstance(wsgw)
$AdminTask deleteWSGWInstance $wsgw