---
title: "Update an existing time off request"
method: PATCH
path: "/v1/org/{orgId}/timeoff/{timeOffId}"
tags: ["timeoff"]
---

# Update an existing time off request

`PATCH /v1/org/{orgId}/timeoff/{timeOffId}`

## Path parameters

- `orgId` string, required
- `timeOffId` string, required

## Request body

- UpdateTimeOffEntity
  - `externalId` string — external identifier, if time off synced from external system
  - `startDate` string, date — start date of time off, inclusive
  - `startDatePartialDay` number — portion of the start date to take
  - `startDatePartialDayPeriod` 'AM' | 'PM' — Portion of the start day requested (e.g. AM or PM)
  - `endDate` string, date — end date of time off, inclusive
  - `endDatePartialDay` number — portion of the end date to take
  - `endDatePartialDayPeriod` 'AM' | 'PM' — Portion of the end day requested (e.g. AM or PM)
  - `days` number — number of days used
  - `hours` number — number of hours used
  - `typeDescription` string — type of time off
  - `timeOffPolicyId` string — policy id to pull the balance from
  - `note` string — notes on the time off
  - `approval` 'APPROVED' | 'PENDING' | 'CANCELLED' | 'REJECTED' | 'SUPERSEDED' — approval status of the time off
  - `requestAt` string — requested at timestamp -- often the same as createAt

## Response `204`

time off updated

## Other responses

- `400` — bad request
- `401` — not authorized
- `404` — not found
- `500` — Not Implemented

---

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