Prerequisites
To use this feature, you must use an API Key with a specific scope. This ensures that incidents aren’t accidentally closed without a proper review unless explicitly authorized.- Navigate to Settings > Integrations > API Keys
- Create a new API Key
- Ensure the key has the Close incidents by opting out of the post-incident flow permission enabled
How to use it
You can transition the incident by using the Edit Incident endpoint (PATCH /v1/incidents/{id}).
- From: The incident must currently be in a valid post-incident status (e.g.,
Resolved,Fixing) - To: The target status must be
Closed
- The incident status moves to Closed
- The incident is marked as “opted out” of the post-incident flow