curl --location --request PUT 'http://127.0.0.1:8000/api/incidents/3' \
--header 'Accept: application/json' \
--header 'Authorization: Baerer {token}' \
--header 'Content-Type: application/json' \
--data '{
"status": "in_progress",
"started_at": "2026-06-17 10:08:00",
"closed_at": "2026-06-22 08:30:00"
}'{
"message": "Incident updated successfully",
"data": {
"id": 4,
"alert": "Suspicious privilege escalation activity was detected and requires investigation.",
"assigned_to": "analyst",
"title": "Privilege Escalation Investigation",
"severity": "high",
"status": "in_progress",
"started_at": "2026-06-17 10:08:00",
"closed_at": "2026-06-22 08:30:00"
}
}