For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Developer Tools
CommunityContact UsConsole
HomeAPI ReferenceDocsChangelog
HomeAPI ReferenceDocsChangelog
  • API Reference
      • POSTCopy file
      • POSTCreate file
      • POSTCreate file (local upload)
      • POSTCreate file (remote upload)
      • DELDelete file
      • GETList files
      • PATCHMove file
      • GETShow file
      • GETShow file upload status
      • PATCHUpdate file
Logo
Developer Tools
CommunityContact UsConsole
API ReferenceFiles

Update file

PATCH
https://api.frame.io/v4/accounts/:account_id/files/:file_id
PATCH
/v4/accounts/:account_id/files/:file_id
1from frameio import Frameio
2from frameio.files import FileUpdateParamsData
3
4client = Frameio(
5 token="YOUR_TOKEN_HERE",
6)
7
8client.files.update(
9 account_id="b34e1d60-4a8d-4315-abb7-196388062d18",
10 file_id="ab3cd118-4246-40ba-a554-bc41fe921d1e",
11 data=FileUpdateParamsData(
12 name="asset.png",
13 ),
14)
1{
2 "data": {
3 "created_at": "2023-09-25T19:18:29.614189Z",
4 "file_size": 1137444,
5 "media_type": "image/png",
6 "parent_id": "06dd2657-2d56-4c80-afcc-482284725745",
7 "project_id": "abdc8443-a4a1-4179-b052-00fe593c841e",
8 "status": "created",
9 "type": "file",
10 "updated_at": "2024-02-07T16:44:41.986478Z",
11 "view_url": "https://next.frame.io/project/d5e6011c-2bc9-4596-be05-77d562627112/view/5a89a9fb-0900-4b23-826b-127b90e4db4c",
12 "id": "67b11ddd-fadc-45f0-ac1d-2f8ae929126c",
13 "name": "asset.png"
14 }
15}

Update file details.
Rate Limits: 100 calls per 1.00 minute(s) per account_user

Was this page helpful?
Previous

Copy folder

Next

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

account_idstringRequiredformat: "uuid"
A UUID String
file_idstringRequiredformat: "uuid"
A UUID String

Request

File params
dataobjectRequired

Response

OK
dataobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error