For each task in the id list, set its last preview as the main preview of the related entity. Useful to set thumbnails for a selection in one request. Tasks without a preview are skipped. Returns the updated entities.
PUT
/actions/tasks/set-main-preview
curl \
--request PUT 'http://api.example.com/actions/tasks/set-main-preview' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"task_ids":["string"]}'
Request examples
{
"task_ids": [
"string"
]
}
Response examples (200)
[
{}
]