v1

latestOpenAPI 3.0.0Proprietary2026-08-06130577659.7 KB
Time Tracking|Absence

Delete absences.

This endpoint enables the deletion of absences based on various filters. Please note that each absence day is a unique instance with a distinct ID. In case the dryRun flag is enabled, the response will be simulated, and no live data will be altered. Please be aware that absences have the potential to impact the time account of employees.

get/employee_absence/delete

Query parameters

filter[byEmployeeReference][]string[]

Filters the absences based on the employee personal number.

filter[from]string
Example:2022-12-22

Filters the absences based on the given date.

filter[to]string
Example:2022-12-22

Filters the absences based on the given date.

filter[byAbsenceTypeId][]integer[]

Filters the absences based in the absence types

filter[byId][]integer[]

Filters the absences based on the internal id.

dryRunboolean

Simulate the operation (default: false). (No data will be removed) This Parameter is optional.

Response

Success Response:

Example response

{
  "deletedAbsences": [
    {
      "date": "2015-02-20",
      "updatedAt": "2015-02-20"
    }
  ]
}