This section lists the procedure to clear an alert manually.
curl --insecure -H GET "https://<host>/rest/v1/alerts?filter=name eq <alertname>&filter=resource_id eq <resource_id>&filter=cleared_timestamp eq \"0001-01-01%2000:00:00.000000\"" -H "accept: application/json" -H "Authorization: Bearer <access_token>"
If using curl, replace every white space with %20.
The filter can be applied to almost any field and multiple filters can be used together, it is an "and" relation between them.
In the response you get, locate the specific alert you want to clear and copy the ID field to use it in the next API call—clear an alert.
https://{{host}}/rest/v1/alerts/<alert_id>/clear example : curl -i --insecure -X POST "https://localhost:8443/rest/v1/alerts/0000000000000001/clear" -H "accept: application/json" -H "Authorization: Bearer <access_token>"