---
title: "Update a Cannoli file's preview image"
method: PUT
path: "/figma/files/{id}/update_preview_from_html/"
tags: ["Figma"]
---

# Update a Cannoli file's preview image

`PUT /figma/files/{id}/update_preview_from_html/`

## Request

- Base URL: `http://api.cannoli.app/api/v1`
- URL: `http://api.cannoli.app/api/v1/figma/files/{id}/update_preview_from_html/`
- Auth: none declared

This endpoint allows you to update a Cannoli file's preview image. The input must be an image type file.

You must send the file as a multipart/form-data.

## Response `200`

OK

---

[API](https://skmtc.dev/cannoli/apis/cannoli-backend-api.md) - [All operations](https://skmtc.dev/cannoli/apis/cannoli-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cannoli/apis/cannoli-backend-api/revisions/d27aef14fd7a?raw)
