Body Required
The pinned event to add or update, along with additional metadata.
-
pinnedEventId string | null
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)
Security_timeline_api_pinnedevent (generated)
{
"created": 42.0,
"createdBy": "string",
"eventId": "string",
"timelineId": "string",
"updated": 42.0,
"updatedBy": "string",
"pinnedEventId": "string",
"version": "string"
}
{
"unpinned": true
}