Delete a payroll history file

Remove a payroll history file you uploaded, before Everee reviews it.

Use this endpoint to remove a payroll history file you uploaded through the API by mistake. It works only while Everee hasn't reviewed the file. A file the company's admin uploaded in the upload component can only be removed there.

📘

Part of Supporting documents. For how this fits into going live, see the guide: Payroll history and going live.

If the company is RECEIVED and this was its last file, the payroll history status goes back to NOT_RECEIVED.

Errors

StatusMeaning
401The API key is missing, malformed or expired.
404No company with this ID belongs to your partner account, or it has no payroll history file with this ID.
422The file was uploaded in the upload component, or Everee has already reviewed it.
Path Params
integer
required

The company's ID, as returned when the company was created.

integer
required

The file's ID.

Responses
204

The file was removed.

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json