Update A Quality Of Service Rule

PUT {{baseUrl}}/networks/:networkId/switch/qosRules/:qosRuleId

Update a quality of service rule #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: vlan| integer| The VLAN of the incoming packet. A null value will match any VLAN. protocol| string| The protocol of the incoming packet. Can be one of ANY, TCP or UDP. Default value is ANY. srcPort| integer| The source port of the incoming packet. Applicable only if protocol is TCP or UDP. srcPortRange| string| The source port range of the incoming packet. Applicable only if protocol is set to TCP or UDP. Example: 70-80 dstPort| integer| The destination port of the incoming packet. Applicable only if protocol is TCP or UDP. dstPortRange| string| The destination port range of the incoming packet. Applicable only if protocol is set to TCP or UDP. Example: 70-80 dscp| integer| DSCP tag that should be assigned to incoming packet. Set this to -1 to trust incoming DSCP. Default value is 0.

Supports Action Batches

ResourceOperation
/networks/{networkId}/switch/qosRules/{qosRuleId}update

Request Body

{"vlan"=>"<integer>", "protocol"=>"<string>", "srcPort"=>"<integer>", "srcPortRange"=>"<string>", "dstPort"=>"<integer>", "dstPortRange"=>"<string>", "dscp"=>"<integer>"}

HEADERS

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

RESPONSES

status: OK

{&quot;id&quot;:&quot;1284392014819&quot;,&quot;vlan&quot;:100,&quot;protocol&quot;:&quot;TCP&quot;,&quot;srcPort&quot;:2000,&quot;srcPortRange&quot;:null,&quot;dstPort&quot;:null,&quot;dstPortRange&quot;:&quot;3000-3100&quot;,&quot;dscp&quot;:0}