Is there a way to connect/disconnect to a OpenVPN/WireGuard client vpn programaticlly?

Point: SSH into router and disconnect Wiregurd Client - #8 by geldsock