Update The Management Interface Settings For A Device
PUT {{baseUrl}}/devices/:serial/managementInterface
Update the management interface settings for a device #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: wan1| object| WAN 1 settings wan2| object| WAN 2 settings (only for MX devices)
Supports Action Batches
Resource | Operation |
---|---|
/devices/{serial}/managementInterface | update |
Request Body
{"wan1"=>{"wanEnabled"=>"<string>", "usingStaticIp"=>"<boolean>", "staticIp"=>"<string>", "staticGatewayIp"=>"<string>", "staticSubnetMask"=>"<string>", "staticDns"=>["<string>", "<string>"], "vlan"=>"<integer>"}, "wan2"=>{"wanEnabled"=>"<string>", "usingStaticIp"=>"<boolean>", "staticIp"=>"<string>", "staticGatewayIp"=>"<string>", "staticSubnetMask"=>"<string>", "staticDns"=>["<string>", "<string>"], "vlan"=>"<integer>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Cisco-Meraki-API-Key | null | ||
Content-Type | string |
RESPONSES
status: OK
{"wan1":{"wanEnabled":"not configured","usingStaticIp":true,"staticIp":"1.2.3.4","staticSubnetMask":"255.255.255.0","staticGatewayIp":"1.2.3.1","staticDns":["1.2.3.2","1.2.3.3"],"vlan":7},"wan2":{"wanEnabled":"enabled","usingStaticIp":false,"vlan":2}}