---
title: "Update an absence"
method: PATCH
path: "/v1/absences/{absenceId}"
tags: ["Absences"]
---

# Update an absence

`PATCH /v1/absences/{absenceId}`

Update the details or status of a single absence (required scope resources:write)

## Path parameters

- `absenceId` integer, required

## Headers

- `Customer-Id` integer, required

## Request body

- UpdateAbsenceModel — Update absence request model. At least one optional value must be provided
  - `status` 'requested' | 'queried' | 'rejected' | 'approved' — The status of a resource absence<p>Possible values:</p><ul><li><b>requested</b>: The absence has been requested by the resource</li><li><b>queried</b>: The absence has been queried and requires review</li><li><b>rejected</b>: The absence has been rejected</li><li><b>approved</b>: The absence has been approved</li></ul>
  - `comment` string — Comment or reason for the status change<br/><br/>Max length: 500 characters<br/><br/>Optional: Omit to retain current value
  - `absenceTypeId` integer — The unique identifier of the absence type. Must reference a valid absence type for this customer<br/><br/>Optional: Omit to retain current value
  - `startAt` string, date-time — The updated start date and time of the absence<br/><br/>Optional: Omit to retain current value
  - `endAt` string, date-time — The updated end date and time of the absence<br/><br/>Optional: Omit to retain current value

## Response `204`

No Content

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `422` — Unprocessable Content
- `500` — Internal Server Error

---

[API](https://skmtc.net/bigchange/apis/bigchange-dx.md) · [All operations](https://skmtc.net/bigchange/apis/bigchange-dx/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bigchange/bigchange-dx/revisions/916e669fc527/schema)
