Skip to main content

updateFile

Sets or clears the tag on a document attached to a record.

Business Rules​

  • The document must belong to the record named by entityType and entityId
  • The tag is trimmed; a blank tag clears the existing one
  • Tags are limited to 50 characters

Error Scenarios​

  • Record or document not found
  • Tag longer than 50 characters

Permissions Required​

  • global:upload_files on the company that owns the record
updateFile(
input: UpdateFileInput!
): File!

Arguments​

updateFile.input ● UpdateFileInput! non-null input common​

Parameters for UpdateFile

Type​

File object common​

Represents a file with its metadata.