Incident Deletion
Aurora does not provide a DELETE endpoint for incidents. Incidents are permanent records that cannot be deleted through the API.Why Incidents Cannot Be Deleted
Incidents serve as a critical audit trail and historical record for:- Compliance and Auditing - Organizations often need to maintain incident records for compliance requirements
- Root Cause Analysis - Historical incidents help identify patterns and recurring issues
- Postmortem Generation - Resolved incidents can generate postmortem documents for knowledge sharing
- Learning and Improvement - Past incidents inform future incident response strategies
Alternative Approaches
1. Resolve Incidents
Instead of deleting, mark incidents as resolved:cURL
- Are moved out of active incident views
- Trigger automatic postmortem generation
- Remain searchable in historical records
2. Merge Duplicate Incidents
If you have duplicate incidents, merge them into a single incident:cURL
- Are marked with status
merged - Reference the target incident via
merged_into_incident_id - Are excluded from the default incident list
- Preserve their data for historical reference
3. Filter Incidents in List View
The incidents list endpoint automatically excludes merged incidents:cURL
merged.
Database Constraints
Incidents have the following cascade deletion relationships:Direct Database Access
If you absolutely must delete an incident at the database level:- Requires direct database access (not available through the API)
- Permanently deletes all related suggestions, thoughts, citations, alerts, and postmortems
- Cannot be undone
- May violate compliance requirements
- Should only be done with explicit approval and backups
Incident Lifecycle States
Instead of deletion, incidents transition through these states:- investigating - Initial state when incident is created
- analyzed - Aurora has completed its RCA analysis
- resolved - Incident has been resolved (generates postmortem)
- merged - Incident was merged into another incident
Related Endpoints
- Update Incident - Mark incident as resolved or merge with other incidents
- List Incidents - View active incidents (auto-filters merged)