- Documentation
- HRIS API
- ATS API
- ATS-Assessment API
- Status
- Getting started
Kombo Connect
Filtering
Integrations
Other
Employees
Organization
Time off
DATEV Payroll
DATEV eAU
General
General API Reference
HRIS API Reference
DATEV API Reference
Delete absence
Delete this absence.
Create an API key on the Secrets page in the Kombo dashboard.
ID of the integration you want to interact with.
The Kombo ID of the absence
curl --request DELETE \
--url https://api.kombo.dev/v1/hris/absences/{absence_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Integration-Id: <x-integration-id>' \
--data '{}'
{
"status": "success",
"data": {
"id": "22st2Ji8XpncEYEak8mvQgQF",
"remote_id": "1348",
"employee_id": "JDdUy9kiH5APaGizFrgNmQjM",
"approver_id": "AgXEispYPP1BbToHpqnqcpxy",
"start_date": "2022-08-04",
"end_date": "2022-08-05",
"start_half_day": true,
"end_half_day": false,
"start_time": "13:15:00",
"end_time": "17:00:00",
"amount": 2,
"unit": "DAYS",
"status": "APPROVED",
"employee_note": "Visiting my family.",
"type_id": "xzZoKssDaMZAd62kxayzzQvD",
"changed_at": "2022-08-07T14:01:29.196Z",
"remote_deleted_at": "2022-08-07T14:01:29.196Z",
"remote_data": null
}
}
This feature is currently available for the following integrations:
- Personio
- SAP SuccessFactors
- Factorial
- BambooHR
- HiBob
- Deel
- Sesame HR
- AlexisHR
- Kombo Sandbox
You’d like to see this feature for another integration? Please reach out! We’re always happy to discuss extending our coverage.
This endpoint requires the permission Manage absences to be enabled in your scope config.
Example Request Body
{
"absence_id": "wXJMxwDvPAjrJ4CyqdV9"
}
Authorizations
Create an API key on the Secrets page in the Kombo dashboard.
Headers
ID of the integration you want to interact with.
Path Parameters
The Kombo ID of the absence
Body
The body is of type object
.
Response
success
The globally unique ID of this object generated by Kombo. We recommend using this as a stable primary key for syncing.
The raw ID of the object in the remote system. We don't recommend using this as a primary key on your side as it might sometimes be compromised of multiple identifiers if a system doesn't provide a clear primary key.
The Kombo ID of the employee to which the absence belongs to. The ID can be used to retrieve the employee from the get employees
endpoint.
(⚠️ Deprecated - We won't increase coverage for this feature) The Kombo ID of the employee who is responsible for approving this absence.
The date this absence starts in the yyyy-MM-dd
format.
The date this absence ends in the yyyy-MM-dd
format.
true
if the absence starts in the middle of the day, false
if not, and null
if the absence type doesn't support half-day absences. If an absence goes across multiple days and start_half_day
is set, it means that on the last day the absence is only on the first half of the day.
true
if the absence ends in the middle of the day, false
if not, and null
if the absence type doesn't support half-day absences. If an absence goes across multiple days and end_half_day
is set, it means that on the first day the absence only starts in the second half-day.
The time at which this absence starts. Follows the format HH:mm:ss
(e.g., 14:45:15
).
The time at which this absence ends. Follows the format HH:mm:ss
(e.g., 14:45:15
).
The amount of time this absence takes.
The unit of time for this absence. Can be HOURS
or DAYS
.
HOURS
, DAYS
The absence’s current status. In rare cases where we can’t find a clear mapping, the original string is passed through.
REQUESTED
, APPROVED
, DECLINED
, CANCELLED
, DELETED
A note the employee has added to this absence.
The Kombo absence type ID of this absence.
The timestamp when this object was last changed. This value is tracked by Kombo based on changes in the data.
The date and time the object was deleted in the remote system. Objects are automatically marked as deleted when Kombo can't retrieve them from the remote system anymore. Kombo will also anonymize entries 14 days after they disappear.
Includes the data fetched from the remote system. Please be aware that including this in you scope config might violate other scopes that are set.
Remote data always has the endpoint path that we got the data from as the
top level key. For example, it could look like: { "/companies": { ... }}
This is not available on all plans. Reach out to Kombo if you need it.
curl --request DELETE \
--url https://api.kombo.dev/v1/hris/absences/{absence_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Integration-Id: <x-integration-id>' \
--data '{}'
{
"status": "success",
"data": {
"id": "22st2Ji8XpncEYEak8mvQgQF",
"remote_id": "1348",
"employee_id": "JDdUy9kiH5APaGizFrgNmQjM",
"approver_id": "AgXEispYPP1BbToHpqnqcpxy",
"start_date": "2022-08-04",
"end_date": "2022-08-05",
"start_half_day": true,
"end_half_day": false,
"start_time": "13:15:00",
"end_time": "17:00:00",
"amount": 2,
"unit": "DAYS",
"status": "APPROVED",
"employee_note": "Visiting my family.",
"type_id": "xzZoKssDaMZAd62kxayzzQvD",
"changed_at": "2022-08-07T14:01:29.196Z",
"remote_deleted_at": "2022-08-07T14:01:29.196Z",
"remote_data": null
}
}