Add A VLAN

POST {{baseUrl}}/networks/:networkId/appliance/vlans

Add a VLAN #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: id| string| The VLAN ID of the new VLAN (must be between 1 and 4094) name| string| The name of the new VLAN subnet| string| The subnet of the VLAN applianceIp| string| The local IP of the appliance on the VLAN groupPolicyId| string| The id of the desired group policy to apply to the VLAN

Supports Action Batches

ResourceOperation
/networks/{networkId}/appliance/vlanscreate

Request Body

{"id"=>"<string>", "name"=>"<string>", "subnet"=>"<string>", "applianceIp"=>"<string>", "groupPolicyId"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
X-Cisco-Meraki-API-Keynull
Content-Typestring

RESPONSES

status: Created

{&quot;id&quot;:&quot;1234&quot;,&quot;networkId&quot;:&quot;N_24329156&quot;,&quot;name&quot;:&quot;My VLAN&quot;,&quot;applianceIp&quot;:&quot;192.168.1.2&quot;,&quot;subnet&quot;:&quot;192.168.1.0/24&quot;,&quot;groupPolicyId&quot;:&quot;101&quot;,&quot;fixedIpAssignments&quot;:{},&quot;reservedIpRanges&quot;:[],&quot;dnsNameservers&quot;:&quot;google_dns&quot;,&quot;dhcpHandling&quot;:&quot;Run a DHCP server&quot;,&quot;dhcpLeaseTime&quot;:&quot;1 day&quot;,&quot;dhcpBootOptionsEnabled&quot;:false,&quot;dhcpBootNextServer&quot;:null,&quot;dhcpBootFilename&quot;:null,&quot;dhcpOptions&quot;:[]}