Update the workflow state of a triggered alert
cURL
curl --request PATCH \ --url https://api.intrace.ai/v1/alerts/{alert_id}/state \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "state": "new" }'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "threat_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "threat_title": "<string>", "alert_type": "<string>", "severity": "<string>", "title": "<string>", "state": "new", "rule_id": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "message": "<string>", "rule_title": "<string>", "threat_type": "<string>", "threat_category": "<string>", "min_distance_km": 123, "max_distance_km": 123 }
{ "state": "acked" }
new
seen
acked
dismissed
Updated alert row.