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

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

RESPONSES

status: OK

{&quot;defaultDestinations&quot;:{&quot;emails&quot;:[&quot;miles@meraki.com&quot;],&quot;allAdmins&quot;:true,&quot;snmp&quot;:true},&quot;alerts&quot;:[{&quot;type&quot;:&quot;gatewayDown&quot;,&quot;enabled&quot;:true,&quot;alertDestinations&quot;:{&quot;emails&quot;:[&quot;miles@meraki.com&quot;],&quot;allAdmins&quot;:false,&quot;snmp&quot;:false},&quot;filters&quot;:{&quot;timeout&quot;:60}}]}