Spaces method and path for this operation:
patch /s/{space_id}/api/timeline/_favorite
Refer to Spaces for more information.
Favorite a Timeline or Timeline template for the current user.
PATCH
/api/timeline/_favorite
curl \
--request PATCH 'https://localhost:5601/api/timeline/_favorite' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{
"templateTimelineId": "string",
"templateTimelineVersion": 42.0,
"timelineId": "string",
"timelineType": "default"
}'