# Set main preview from task **PUT /actions/tasks/{task_id}/set-main-preview** Set the last preview of a task as the main preview of the related entity. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Jwt authorization ## Parameters ### Path parameters - **task_id** (string(uuid)) ## Responses ### 200 Preview set as main preview #### Body: application/json (object) - **id** (string(uuid)) - **name** (string) - **project_id** (string(uuid)) - **preview_file_id** (string(uuid)) - **entity_type_id** (string(uuid)) - **created_at** (string(date-time)) - **updated_at** (string(date-time)) [Powered by Bump.sh](https://bump.sh)