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

# Update a Cannoli file

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

## Request

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

## Request body

- FileUpdate
  - `mjml` object, nullable
  - `html` string, nullable
  - `errors` object, nullable
  - `selected_frame` string, nullable
  - `node` string, required
  - `name` string, nullable
  - `team` integer, nullable
  - `project` integer, nullable
  - `public` boolean
  - `plugin_metadata` object, nullable

## Response `200`

OK

- FileUpdate
  - `mjml` object, nullable
  - `html` string, nullable
  - `errors` object, nullable
  - `selected_frame` string, nullable
  - `node` string, required
  - `name` string, nullable
  - `team` integer, nullable
  - `project` integer, nullable
  - `public` boolean
  - `plugin_metadata` object, nullable

---

[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)
