Update The Traffic Analysis Settings For A Network
PUT {{baseUrl}}/networks/:networkId/trafficAnalysis
Update the traffic analysis settings for a network #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: mode| string| The traffic analysis mode for the network. Can be one of 'disabled' (do not collect traffic types), 'basic' (collect generic traffic categories), or 'detailed' (collect destination hostnames).
customPieChartItems| array| The list of items that make up the custom pie chart for traffic reporting.
Request Body
{"mode"=>"<string>", "customPieChartItems"=>[{"name"=>"<string>", "type"=>"<string>", "value"=>"<string>"}, {"name"=>"<string>", "type"=>"<string>", "value"=>"<string>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Cisco-Meraki-API-Key | null | ||
Content-Type | string |
RESPONSES
status: OK
{"mode":"detailed","customPieChartItems":[{"name":"Item from hostname","type":"host","value":"example.com"},{"name":"Item from port","type":"port","value":"440"},{"name":"Item from IP","type":"ipRange","value":"192.1.0.0"},{"name":"Item from IP range (CIDR)","type":"ipRange","value":"192.2.0.0/16"},{"name":"Item from IP range with port","type":"ipRange","value":"192.3.0.0/16:80"}]}