---
title: "Delete absence"
method: DELETE
path: "/hris/absences/{absence_id}"
tags: ["Unified HRIS API"]
---

# Delete absence

`DELETE /hris/absences/{absence_id}`

Delete this absence.

<Note>
  This endpoint requires the permission **Manage absences** to be enabled in [your scope config](/scopes).
</Note>

### Example Request Body

```json
{
  "absence_id": "wXJMxwDvPAjrJ4CyqdV9"
}
```

## Path parameters

- `absence_id` string, required — The Kombo ID of the absence

## Headers

- `X-Integration-Id` string, required

## Request body

- DeleteHrisAbsencesAbsenceIdRequestBody
  - `remote_fields` object — Additional fields that we will pass through to specific HRIS systems.
    - `adpworkforcenow` object — Fields specific to ADP Workforce Now.
      - `employment_id` string — [Required] The employment ID of the employee that the absence will be deleted from.

## Response `200`

DELETE /hris/absences/:absence_id Positive response

- DeleteHrisAbsencesAbsenceIdPositiveResponse
  - `status` 'success', required
  - `data` object, required
    - `id` string, required — The globally unique ID of this object generated by Kombo. We recommend using this as a stable primary key for syncing.
    - `remote_id` string, nullable, required — 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.
    - `employee_id` string, required — 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.
    - `approver_id` string, nullable, required — **(⚠️ Deprecated - We won't increase coverage for this feature)** The Kombo ID of the employee who is responsible for approving this absence.
    - `start_date` unknown, required
    - `end_date` unknown, required
    - `start_half_day` boolean, nullable, required — `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. For multi-day absences, this only applies to the first day of the absence.
    - `end_half_day` boolean, nullable, required — `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. For multi-day absences, this only applies to the last day of the absence.
    - `start_time` unknown, required
    - `end_time` unknown, required
    - `amount` number, double, nullable, required — The amount of time this absence takes.
    - `unit` 'HOURS' | 'DAYS', nullable, required — The unit of time for this absence. Can be `HOURS` or `DAYS`.
    - `status` union — 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'
      - string — If we can't find a clear mapping: The original string passed through.
    - `employee_note` string, nullable, required — A note the employee has added to this absence.
    - `type_id` string, nullable, required — The Kombo absence type ID of this absence.
    - `remote_created_at` string, date-time, nullable, required — The date and time the object was created in the remote system.
    - `remote_updated_at` string, date-time, nullable, required — A timestamp retrieved from the remote system, describing when the resource was last updated.
    - `changed_at` string, date-time, required — The timestamp when this specific record was last modified. This field only updates when properties directly on this record change, NOT when related or nested models change. For filtering that considers nested data changes, use the `updated_after` parameter which will return records when either the record itself OR its related models have been updated.
    - `remote_deleted_at` string, date-time, nullable, required — 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.
    - `remote_data` object, nullable, required — 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.
  - `warnings` object[], required — These are the interaction warnings that are shown in the dashboard. They are meant to provide debug information to you. We recommend logging them to the console.
    - `message` string, required

## Other responses

- `default` — The standard error response with the error codes for the HRIS use case.

---

[API](https://skmtc.net/kombo/apis/kombo-api.md) · [All operations](https://skmtc.net/kombo/apis/kombo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kombo/kombo-api/versions/1e45035b96d3/schema)
