awork icon

awork

Automate your workflows with the awork API

Actions110

File → Update File

AI-generated

Summary

Update the metadata of an existing file attached to a specified parent resource in awork.

Inputs

  • Parent Resource (required) — Type of the parent resource to which the file is attached. Options include Company, Document, Project, Task, or User.
  • Parent ID (required) — The unique identifier of the parent resource to which the file belongs.
  • File ID (required) — The unique identifier of the file to update.
  • Update Fields — Fields of the file to update; can include 'Name' and/or 'Description'.

Output shape

a single object representing the updated file's metadata

The output includes the updated file object. The operation requires the parent resource type and IDs to target the correct file. Errors may occur if identifiers are invalid or required fields are missing.

Links

Discussion