Use case — creating a VLAN

Creating VLAN using REST:

WorkStation# curl --noproxy 10.100.167.104 --cookie 
"sessionId=09CG1bRuT5hkCPzI97mmDjpn4uLtsmgkBsAaWUr9h7GxlkbsiASak1PEyj7Ov3n" -X POST 
http://10.100.167.104:80/rest/v1/vlans -d '{"vlan_id":5, "name":"VLAN5"}‘

Response from the Switch:

{
    "uri": "/rest/v1/vlans/5",
    "vlan_id": 5,
    "name": "VLAN5",
    "status": "VS_PORT_BASED",
    "type": "VT_STATIC",
    "is_voice_enabled": false,
    "is_jumbo_enabled": false,
    "is_dsnoop_enabled": false
}