---
title: "Update incident (status, RCA notes, severity)"
method: PUT
path: "/api/v1/projects/{projectId}/incidents/{incidentId}"
tags: ["Incidents"]
---

# Update incident (status, RCA notes, severity)

`PUT /api/v1/projects/{projectId}/incidents/{incidentId}`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/projects/{projectId}/incidents/{incidentId}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

A change of status is itself recorded on the timeline, so the history stays readable after the fact.

## Path parameters

- `projectId` string, uuid, required
- `incidentId` string, uuid, required

## Request body

- IncidentRequest
  - `title` string
  - `severity` 'INFO' | 'WARNING' | 'CRITICAL'
  - `status` 'OPEN' | 'INVESTIGATING' | 'RESOLVED'
  - `rcaNotes` string

## Response `200`

OK

---

[API](https://skmtc.dev/railhook/apis/railhook-api.md) · [All operations](https://skmtc.dev/railhook/apis/railhook-api/llms.txt) · [OpenAPI document](https://skmtc.dev/railhook/apis/railhook-api/revisions/4e2c76dfc33d?raw)
