Company Files
Public API
Delete Company File
Permanently removes a company file and its associated storage. The company must have the Files tool enabled; otherwise the file is treated as not found. Read-only file types (e.g. e-signature templates) are silently skipped. No response body is returned on success. Use "Company Files > List Company Files" to obtain file IDs.
OAuth Scopes: company_file.write
delete/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 delete.
Response
The company file was deleted successfully. No response body is returned.
Changes
No recorded changes to this operation across all 2 revisions of this API.