Disable an opc connection by script (java/jython code)?

I would like to disabled an opc-ua server connection by script.
Can we achieve this with java/jython code ?

Does anybody have an answer to this? I have a need for this also.

Unfortunately there does not appear to be any way to do this currently. Closest you can get is being able to enable/disable devices on the Ignition OPC-UA server through scripting.