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
apikey*
Form Method
contextNameThe name of the Context for which the alerts should be deleted.
baseurlThe highest URL in the Sites tree under which alerts should be deleted.
riskIdThe numeric risk representation ('0 - Informational' through '3 - High').