Pin an event Beta

PATCH /api/pinned_event

Pin an event to an existing Timeline.

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

Body Required

The pinned event to add or update, along with additional metadata.

Responses

PATCH /api/pinned_event
curl \
 -X PATCH https://<KIBANA_URL>/api/pinned_event \
 -H "Content-Type: application/json; Elastic-Api-Version=2023-10-31"
Request examples
{
  "eventId": "string",
  "pinnedEventId": "string",
  "timelineId": "string"
}
Response examples (200)
{
  "created": 42.0,
  "createdBy": "string",
  "eventId": "string",
  "timelineId": "string",
  "updated": 42.0,
  "updatedBy": "string",
  "pinnedEventId": "string",
  "version": "string"
}
{
  "unpinned": true
}