Skip to content

Update an incident

PATCH
/v1/incidents/{id}
curl --request PATCH \
--url https://api.varman.io/v1/incidents/example \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "title": "Laptop with customer data stolen", "description": {}, "category": "security", "severity": "low", "status": "reported", "occurredAt": {}, "detectedAt": "example", "reporterMemberId": {}, "reporterName": {}, "reporterEmail": {}, "ownerMemberId": {}, "isPrivacyBreach": true, "personalDataAffected": {}, "authorityNotifiedAt": {}, "subjectsNotifiedAt": {}, "rootCause": {}, "lessonsLearned": {} }'

Updates only the fields sent; null clears optional fields. A status change adds a timeline entry; closing sets closedAt.

id
required
string
X-Organization-Id
string
Media typeapplication/json
object
title

Short summary

string

Example

Laptop with customer data stolen
description

What happened

object
category

Defaults to security

string
Allowed values: security privacy availability other
severity

Defaults to medium

string
Allowed values: low medium high critical
status

Defaults to reported

string
Allowed values: reported triage investigating contained resolved closed
occurredAt

When it happened (ISO date)

object
detectedAt

When it was detected (ISO date). Defaults to now.

string
reporterMemberId

Member who reported it

object
reporterName

Reporter name when not a member

object
reporterEmail

Reporter email when not a member

object
ownerMemberId

Member who owns the response

object
isPrivacyBreach

Personal data breach. Starts a 72 hour clock from detectedAt to notify the supervisory authority (GDPR Art. 33).

boolean
personalDataAffected

Personal data and people affected

object
authorityNotifiedAt

When the authority was notified

object
subjectsNotifiedAt

When affected people were notified

object
rootCause
object
lessonsLearned
object