Skip to main content
PUT
/
api
/
v1
/
compliance
/
alerts
/
{id}
curl -X PUT "https://olive-gateway-a6ba.onrender.com/api/v1/compliance/alerts/101" \
  -H "Authorization: Bearer olive_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "resolved",
    "resolution_notes": "Customer identity verified via video call",
    "resolved_by": "officer_jane"
  }'
{
  "success": true,
  "message": "Alert updated successfully"
}
Update status to investigate or close an alert. Requires compliance officer role.

Request

Authorization
string
required
Bearer olive_live_xxx

Path Parameters

id
integer
required
Alert ID

Body Parameters

status
string
required
New status: investigating, resolved, false_positive
resolution_notes
string
Notes explaining the decision
resolved_by
string
Officer Name/ID

Response

success
boolean
Update status

Examples

curl -X PUT "https://olive-gateway-a6ba.onrender.com/api/v1/compliance/alerts/101" \
  -H "Authorization: Bearer olive_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "resolved",
    "resolution_notes": "Customer identity verified via video call",
    "resolved_by": "officer_jane"
  }'
{
  "success": true,
  "message": "Alert updated successfully"
}