ZAP API UI
Component: alert
Action: deleteAlerts
Deletes all the alerts optionally filtered by URL which fall within the Context with the provided name, risk, or base URL.
Output Format
JSON
JSONP
HTML
XML
apikey*
Form Method
GET
POST
contextName
The name of the Context for which the alerts should be deleted.
baseurl
The highest URL in the Sites tree under which alerts should be deleted.
riskId
The numeric risk representation ('0 - Informational' through '3 - High').