Forum Discussion
devopsdd_183664
Altostratus
Better late than never I suppose :). Subcollections can be a bit of a pain. You can create a vlan, assign it to an interface, and tag it in one shot like so:
curl -sk -u admin:admin -H "Content-type: application/json" -X POST -d '{"name":"external","tag":"2","interfaces": [{"name":"1.1","tagged":true}]}' https://192.168.153.140/mgmt/tm/net/vlan
This works for me in ver=11.6.0
seamlessfirework
Nov 14, 2023Cirrus
Worked for me. Thanks!