Delete Employee File

Permanently deletes an employee file. This action cannot be undone and removes the file from storage. The special employee ID of 0 resolves to the employee associated with the API key. Returns 200 even if the file was already deleted (idempotent). Returns 403 if the caller lacks permission or the file belongs to a BambooPayroll-managed section. Returns 404 if the file does not exist for the specified employee or the Files tool is not enabled for the company. Use 'List Employee Files' to obtain file IDs.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

The ID of the employee whose file is being deleted. Use 0 to default to the employee associated with the API key.

integer
required

The ID of the employee file to delete.

Responses
200

The employee file was deleted successfully, or had already been deleted for this employee.

403

The caller does not have permission to delete this employee's file, or the file belongs to a BambooPayroll-managed section and the caller is not a payroll admin.

404

The file was not found for the specified employee, or the Files tool is not enabled for this company.

500

An internal server error occurred.

Language
Credentials
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!