updateFile
Sets or clears the tag on a document attached to a record.
Business Rules
- The document must belong to the record named by
entityTypeandentityId - 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_fileson 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.