Update The Switch Alternate Management Interface For The Network

PUT {{baseUrl}}/networks/:networkId/switch/alternateManagementInterface

Update the switch alternate management interface for the network #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: enabled| boolean| Boolean value to enable or disable AMI configuration. If enabled, VLAN and protocols must be set vlanId| integer| Alternate management VLAN, must be between 1 and 4094 protocols| array| Can be one or more of the following values: 'radius', 'snmp' or 'syslog' switches| array| Array of switch serial number and IP assignment. If parameter is present, it cannot have empty body. Note: switches parameter is not applicable for template networks, in other words, do not put 'switches' in the body when updating template networks. Also, an empty 'switches' array will remove all previous assignments

Supports Action Batches

ResourceOperation
/networks/{networkId}/switch/alternateManagementInterfaceupdate

Request Body

{"enabled"=>"<boolean>", "vlanId"=>"<integer>", "protocols"=>["<string>", "<string>"], "switches"=>[{"serial"=>"<string>", "alternateManagementIp"=>"<string>"}, {"serial"=>"<string>", "alternateManagementIp"=>"<string>"}]}

HEADERS

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

RESPONSES

status: OK

{&quot;enabled&quot;:true,&quot;vlanId&quot;:100,&quot;protocols&quot;:[&quot;radius&quot;,&quot;snmp&quot;,&quot;syslog&quot;],&quot;switches&quot;:[{&quot;serial&quot;:&quot;Q234-ABCD-5678&quot;,&quot;alternateManagementIp&quot;:&quot;1.2.3.4&quot;}]}