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
Resource | Operation |
---|---|
/networks/{networkId}/appliance/vlans | create |
Request Body
{"id"=>"<string>", "name"=>"<string>", "subnet"=>"<string>", "applianceIp"=>"<string>", "groupPolicyId"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Cisco-Meraki-API-Key | null | ||
Content-Type | string |
RESPONSES
status: Created
{"id":"1234","networkId":"N_24329156","name":"My VLAN","applianceIp":"192.168.1.2","subnet":"192.168.1.0/24","groupPolicyId":"101","fixedIpAssignments":{},"reservedIpRanges":[],"dnsNameservers":"google_dns","dhcpHandling":"Run a DHCP server","dhcpLeaseTime":"1 day","dhcpBootOptionsEnabled":false,"dhcpBootNextServer":null,"dhcpBootFilename":null,"dhcpOptions":[]}