Update The Alert Configuration For This Network
PUT {{baseUrl}}/networks/:networkId/alerts/settings
Update the alert configuration for this network #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: defaultDestinations| object| The network-wide destinations for all alerts on the network. alerts| array| Alert-specific configuration for each type. Only alerts that pertain to the network can be updated.
Request Body
{"defaultDestinations"=>{"emails"=>["<string>", "<string>"], "allAdmins"=>"<boolean>", "snmp"=>"<boolean>", "httpServerIds"=>["<string>", "<string>"]}, "alerts"=>[{"type"=>"<string>", "enabled"=>"<boolean>", "alertDestinations"=>{"emails"=>["<string>", "<string>"], "allAdmins"=>"<boolean>", "snmp"=>"<boolean>", "httpServerIds"=>["<string>", "<string>"]}, "filters"=>{}}, {"type"=>"<string>", "enabled"=>"<boolean>", "alertDestinations"=>{"emails"=>["<string>", "<string>"], "allAdmins"=>"<boolean>", "snmp"=>"<boolean>", "httpServerIds"=>["<string>", "<string>"]}, "filters"=>{}}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Cisco-Meraki-API-Key | null | ||
Content-Type | string |
RESPONSES
status: OK
{"defaultDestinations":{"emails":["miles@meraki.com"],"allAdmins":true,"snmp":true},"alerts":[{"type":"gatewayDown","enabled":true,"alertDestinations":{"emails":["miles@meraki.com"],"allAdmins":false,"snmp":false},"filters":{"timeout":60}}]}