SSH into Flint 2 to start/stop WireGuard?

Hello all, I just got a Flint 2 router and I love it! The only annoying this is I have to login to the router anytime I want to start/stop WireGuard VPN. Is there any way to SSH into it to perform this task? I'm trying to write a script that I can run anytime I want to start/stop it but I can't get it to work.

It's incredibly easy to set up a client/server VPN using the GL.iNet Flint 2 at your home or office and the Slate AX on the remote side.

Check the output of ip a. If you have a wgclient1 you should be able to treat it like any other interface with ifup/ifdown. Beyond that I'd be curious to know if there's some specific gl-related uci calls that'd make it easier to script, swap peers or toggle the kill switch.