---
title: "Cancel an absence 🌍"
method: DELETE
path: "/companies/{companyId}/absences/{absenceId}"
tags: ["Absences"]
---

# Cancel an absence 🌍

`DELETE /companies/{companyId}/absences/{absenceId}`

Cancels an existing absence in a company.

\
**Required scopes**: *time:write*

## Path parameters

- `companyId` string, required
- `absenceId` string, required

## Request body

- object
  - `comment` string — Optional comment recorded on the absence cancellation.

## Response `204`

The absence was cancelled.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/payfit/apis/partner-api.md) · [All operations](https://skmtc.net/payfit/apis/partner-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/payfit/partner-api/revisions/fd1fb9262946/schema)
