Body Required
The pinned event to add or update, along with additional metadata.
-
pinnedEventId string | null
PATCH
/api/pinned_event
curl \
--request PATCH https://localhost:5601/api/pinned_event \
--header "Content-Type: application/json" \
--data '{"eventId":"string","pinnedEventId":"string","timelineId":"string"}'
Request examples
{
"eventId": "string",
"pinnedEventId": "string",
"timelineId": "string"
}
Response examples (200)
Security_timeline_api_pinnedevent
{
"created": 42.0,
"createdBy": "string",
"eventId": "string",
"timelineId": "string",
"updated": 42.0,
"updatedBy": "string",
"pinnedEventId": "string",
"version": "string"
}
{
"unpinned": true
}