Delete Employee File

Deletes the specified employee file. The special employee ID of zero (0) resolves to the employee associated with the API key. Successful deletions are idempotent: if the file was already deleted for that employee, the endpoint may still return 200. Returns 404 when the file is not associated with the specified employee, 403 if the caller lacks permission or the file is managed by BambooPayroll, and 500 on an internal error.

Path Params
integer
required
Defaults to 0

The ID of the employee whose file is being deleted. Pass 0 to use 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 API user does not have permission to delete the requested employee's file, or the file is managed by BambooPayroll.

404

The requested file was not found for the specified employee.

500

An internal server error occurred.

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