For each task of the list, use its last preview as the picture of its entity. The tasks without preview are skipped. If a task does not exist or if you cannot change it, the route stops with an error. The entities changed before the error stay changed. Clients cannot use this route.
PUT
/actions/tasks/set-main-preview
curl \
--request PUT '/api/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)
[
{}
]