Add or update a note

PATCH /api/note

Add a note to a Timeline or update an existing note.

application/json; Elastic-Api-Version=2023-10-31

Body Required

The note to add or update, along with additional metadata.

Responses

PATCH /api/note
curl \
 -X PATCH https://localhost:5601/api/note \
 -H "Content-Type: application/json; Elastic-Api-Version=2023-10-31"
Request examples
{
  "eventDataView": "string",
  "eventIngested": "string",
  "eventTimestamp": "string",
  "note": {
    "created": 42.0,
    "createdBy": "string",
    "eventId": "string",
    "note": "string",
    "timelineId": "string",
    "updated": 42.0,
    "updatedBy": "string"
  },
  "noteId": "string",
  "overrideOwner": true,
  "version": "string"
}
Response examples (200)
{
  "note": {
    "created": 42.0,
    "createdBy": "string",
    "eventId": "string",
    "note": "string",
    "timelineId": "string",
    "updated": 42.0,
    "updatedBy": "string",
    "noteId": "string",
    "version": "string"
  }
}