Skip to main content
PUT
/
api
/
v1
/
status-pages
/
{id}
/
incidents
/
{incidentId}
Update an incident
curl --request PUT \
  --url https://api.devhelm.io/api/v1/status-pages/{id}/incidents/{incidentId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "status": "INVESTIGATING",
  "impact": "NONE",
  "affectedComponents": [
    {
      "componentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "status": "OPERATIONAL"
    }
  ],
  "postmortemBody": "<string>",
  "postmortemUrl": "<string>"
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "statusPageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "title": "<string>",
    "status": "INVESTIGATING",
    "impact": "NONE",
    "scheduled": true,
    "autoResolve": true,
    "startedAt": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "scheduledFor": "2023-11-07T05:31:56Z",
    "scheduledUntil": "2023-11-07T05:31:56Z",
    "incidentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "publishedAt": "2023-11-07T05:31:56Z",
    "resolvedAt": "2023-11-07T05:31:56Z",
    "createdByUserId": 123,
    "postmortemBody": "<string>",
    "postmortemUrl": "<string>",
    "affectedComponents": [
      {
        "statusPageComponentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "componentStatus": "OPERATIONAL",
        "componentName": "<string>"
      }
    ],
    "updates": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "status": "INVESTIGATING",
        "body": "<string>",
        "createdBy": "USER",
        "notifySubscribers": true,
        "createdAt": "2023-11-07T05:31:56Z",
        "createdByUserId": 123
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

API key (dh_live_...) or Auth0 JWT token

Path Parameters

id
string<uuid>
required
incidentId
string<uuid>
required

Body

application/json
title
string | null

New title; null preserves current

Maximum string length: 500
status
enum<string> | null

New status; null preserves current

Available options:
INVESTIGATING,
IDENTIFIED,
MONITORING,
RESOLVED
impact
enum<string> | null

New impact level; null preserves current

Available options:
NONE,
MINOR,
MAJOR,
CRITICAL
affectedComponents
object[] | null

Updated affected components; null preserves current

postmortemBody
string | null

Postmortem body in markdown; empty string clears

postmortemUrl
string | null

URL to an external postmortem document; empty string clears

Maximum string length: 2048
Pattern: ^https?://.*

Response

200 - */*

OK

data
object
required