I’m trying to grab a list of device tags, so I can include them in some vlan additions. Is there a way to do this via rest?
Yes. See InControl 2 API Documentation - Peplink
/rest/o/{organization_id}/d/{device_id} will return a device’s details including tags.
Thank you. I can get a list of tags, but they don’t include the tag ID number. How do I go about that? Or, can I just add the tag name without the ID number when creating vlans through api?
Good question. This call.
/rest/o/{organization_id}/g/{group_id}/vlan_config
It looks like you can GET the current tags and ID’s and then update by adding new tags and appending them with sequential IDs maybe… try it.
I’m just going to create a bunch of tags and apply to a spare pep that I have, so I can read them, and add that to my workflow for now.