v1

latestOpenAPI 3.1.02026-07-26294215839.4 KB
Company Files
Public API

Update Company File

Updates metadata for an existing company file. Supports renaming the file, moving it to a different category, and toggling employee visibility. Accepts JSON or XML. Only fields included in the request body are updated.

OAuth Scopes: company_file.write

post/api/v1/files/{fileId}

Path parameters

fileIdinteger required

The ID of the company file to update.

Request body

namestring

The new display name for the file.

categoryIdstring

The ID of the category (file section) to move the file to.

shareWithEmployee'yes' | 'no'

Whether the file is shared with employees.

Response

The company file was updated successfully.