# Update preview file **PUT /data/preview-files/{instance_id}** Update a preview file with data provided in the request body. JSON format is expected. Requires project access. Non-managers must be working on the task. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Jwt authorization ## Parameters ### Path parameters - **instance_id** (string(uuid)) ### Body: application/json (object) - **name** (string) - **revision** (integer) ## Responses ### 200 Preview file updated successfully #### Body: application/json (object) - **id** (string(uuid)) - **name** (string) - **task_id** (string(uuid)) - **revision** (integer) - **created_at** (string(date-time)) - **updated_at** (string(date-time)) ### 400 Invalid data format or validation error [Powered by Bump.sh](https://bump.sh)