Body
Required
The pinned event to add or unpin, along with additional metadata.
-
eventId
string Required The
_id
of the associated event for this pinned event. -
pinnedEventId
string | null The
savedObjectId
of the pinned event you want to unpin. -
timelineId
string Required The
savedObjectId
of the timeline that you want this pinned event unpinned from.
PATCH
/api/pinned_event
curl \
--request PATCH 'https://<KIBANA_URL>/api/pinned_event' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"eventId":"d3a1d35a3e84a81b2f8f3859e064c224cdee1b4bc","pinnedEventId":"10r1929b-0af7-42bd-85a8-56e234f98h2f3","timelineId":"15c1929b-0af7-42bd-85a8-56e234cc7c4e"}'