Vai al contenuto principale
PATCH
/
api
/
v1
/
V-Ciso
/
incidents
/
{organizationid}
/
{incidentid}
Update incident
curl --request PATCH \
  --url https://app.aegister.com/api/v1/V-Ciso/incidents/{organizationid}/{incidentid} \
  --header 'Content-Type: application/json' \
  --header 'X-Aegister-Token: <api-key>' \
  --data '
{
  "title": "<string>",
  "reference_code": "<string>",
  "classification": {},
  "metadata": {},
  "status": "draft",
  "subject_type": "<string>",
  "24h_notification": {},
  "72h_notification": {},
  "full_report": {}
}
'
{
  "error": 0,
  "messages": "<array>",
  "data": {
    "id": 123,
    "title": "<string>",
    "reference_code": "<string>",
    "status": "draft",
    "classification": {},
    "metadata": {},
    "acn_event": {},
    "acn_sections": {},
    "ai_blob": {},
    "phases": {},
    "organization_id": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "24h_notification": {},
    "72h_notification": {},
    "full_report": {}
  }
}

Autorizzazioni

X-Aegister-Token
string
header
obbligatorio

Parametri del percorso

incidentid
integer
obbligatorio
organizationid
integer
obbligatorio

Corpo

title
string

Incident title.

reference_code
string

External reference code.

classification
object

Classification data.

metadata
object

Additional metadata.

status
enum<string>

Incident status.

  • draft - draft
  • submitted - submitted
  • closed - closed
Opzioni disponibili:
draft,
submitted,
closed
subject_type
string

Subject type, routed into metadata.

24h_notification
object

Phase-specific data for 24-hour notification.

72h_notification
object

Phase-specific data for 72-hour notification.

full_report
object

Phase-specific data for full report.

Risposta

error
integer

Any value different from 0 indicates an error.
More details can be found in messages.

Intervallo richiesto: 0 <= x <= 0
Esempio:

0

messages
array

If error is 1, contains zero or more details on the error.

Esempio:
[]
data
object

Incident notification object.