v1

latestOpenAPI 3.0.3FortiCNAPP Use License2026-08-041754351.1 MB
Alerts

Close Alerts

Change the status of an alert to closed by invoking the following endpoint:

POST https://YourAccount.lacework.net/api/v2/Alerts/{alertId}/close

The body of the request should contain the reason for closing, from these options:

  • Other
  • False positive
  • Not enough information
  • Malicious and have resolution in place
  • Expected because of routine testing
  • Expected behavior

If you choose Other, the message field is required and should contain a brief explanation of why the alert is closed.

Note that a closed alert cannot be reopened.

For details about alert statuses, see Status.

post/api/v2/Alerts/{alertId}/close

Path parameters

alertIdstring required

Alert id

Headers

Authorizationstring required

Bearer Access Token. For example, "Bearer {YourAPIToken}"

Content-Typestring required

application/json

Request body

reason0 | 1 | 2 | 3 | 4 | 5 required

0 - Other

1 - False positive

2 - Not enough information

3 - Malicious and have resolution in place

4 - Expected because of routine testing

5 - Expected behavior

commentstring

If you choose 0 (Other), the comment field is required and should contain a brief explanation of why the alert is closed.

Response

Success