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}
Request
- Base URLhttps://companySubDomain.bamboohr.com
- Auth
- HTTP basic
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopescompany_file.write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
fileIdinteger required
The ID of the company file to update.
Request body
Response
The company file was updated successfully.
Changes
No recorded changes to this operation across all 2 revisions of this API.