Dismiss a security alert on a project

Dismisses a security alert, as the Dismiss button of the dashboard does. A dismissed site health check moves from failed_checkpoints to dismissed_checkpoints on GET /projects/{projectId}/security-checks and stops alerting. The dismissal lasts at least until cooldown_until (24 hours), then holds as long as the site stays in the same state: the alert comes back when what it checks changes (for example a new inactive plugin). Dismissing an already dismissed alert refreshes it. For a site health check, send alert_type SITE_HEALTH and alert_key health:{check}.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Project ID

Body Params
string
enum
required

SITE_HEALTH for a site health check, ANOMALY for an activity anomaly

Allowed:
string
required
length ≤ 255

health:{check} (for example health:plugins_inactive) or anomaly:{kind}

string
length ≤ 1000

Optional note shown next to the dismissed alert

contexts
array of objects
length ≤ 200

ANOMALY only, the contexts of the anomaly to keep muted

contexts
Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json