---
title: "Update Hour Record"
method: PUT
path: "/api/v1/timetracking/adjust"
tags: ["Public API", "Hours"]
---

# Update Hour Record

`PUT /api/v1/timetracking/adjust`

Edits an existing hour record by `timeTrackingId`.

OAuth Scopes: time_tracking.write

## Request body

- AdjustTimeTrackingRequestSchema — Schema for adjust time tracking request body
  - `timeTrackingId` string, required — The time tracking id is the id that was used to track the record up to 36 characters in length. (i.e. UUID).
  - `hoursWorked` number, required — The updated number of hours worked. e.g. if Employee A worked 8.0 hours originally and decided they only worked 6.0, please send 6.0 here not -2.0.
  - `projectId` integer, nullable — ID of the project associated with this time tracking record
  - `taskId` integer, nullable — ID of the task associated with this time tracking record
  - `shiftDifferentialId` integer, nullable — ID of the shift differential associated with this time tracking record
  - `holidayId` integer, nullable — ID of the holiday associated with this time tracking record

## Response `201`

Record updated. Returns the time tracking ID.

- TimeTrackingIdResponseSchema — Schema for time tracking ID response
  - `id` string — Unique identifier for the time tracking record

## Other responses

- `400` — If any required field is missing, referenced IDs are invalid, or the posted JSON is invalid.
- `403` — Forbidden. Insufficient user permissions.

---

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