---
title: "Update Element File"
method: PATCH
path: "/api/elements/{element_id}/files/{element_file_id}"
tags: ["elements"]
---

# Update Element File

`PATCH /api/elements/{element_id}/files/{element_file_id}`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/elements/{element_id}/files/{element_file_id}`
- Auth: HTTP bearer

## Path parameters

- `element_id` string, uuid, required
- `element_file_id` string, uuid, required

## Request body

- UpdateFileRequest
  - `description` string, nullable
  - `role` string, nullable
  - `sort_order` integer, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
