Change VLAN on switch port via API

This would be great for automation- I have an application where I need to change the vlan on some devices, triggered by an external event. It would be awesome to use a Peplink switch for this & do it with the API.