---
title: "Changes to PUT /targethours/{id}"
method: PUT
path: "/targethours/{id}"
---

# Changes to PUT /targethours/{id}

`PUT /targethours/{id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 28 revisions.

- **2026-09-23** `d80ab704f3f6`: 1 info
- **2026-04-19** `a88d0ed986cf`: 12 breaking, 19 warning, 1 info

## Changes

- **2026-09-23** `d80ab704f3f6`: 1 info
  - api operation id `updateTargethourById` removed and replaced with `updateTargetHourById`
- **2026-04-19** `a88d0ed986cf`: 12 breaking, 19 warning, 1 info
  - the `compensation_daily` request property type changed from `number` to `integer`
  - the `compensation_monthly` request property type changed from `number` to `integer`
  - the `holiday_fixed_credit` request property type changed from `number` to `integer`
  - added `#/components/schemas/TargetHourV1Weekly, #/components/schemas/TargetHourV1Monthly` to the `targethoursRow` response property `oneOf` list for the response status `200`
  - the `targethoursRow` response's property type changed from `object` to no type for status `200`
  - removed the required property `targethoursRow/date_since` from the response with the `200` status
  - removed the required property `targethoursRow/date_until` from the response with the `200` status
  - removed the required property `targethoursRow/id` from the response with the `200` status
  - removed the required property `targethoursRow/surcharge_models_id` from the response with the `200` status
  - removed the required property `targethoursRow/test_data` from the response with the `200` status
  - removed the required property `targethoursRow/type` from the response with the `200` status
  - removed the required property `targethoursRow/users_id` from the response with the `200` status
  - the `surcharge_models_id` request property's min was set to `1.00`
  - removed the optional property `targethoursRow/absence_fixed_credit` from the response with the `200` status
  - removed the optional property `targethoursRow/compensation_daily` from the response with the `200` status
  - removed the optional property `targethoursRow/compensation_monthly` from the response with the `200` status
  - removed the optional property `targethoursRow/friday` from the response with the `200` status
  - removed the optional property `targethoursRow/monday` from the response with the `200` status
  - removed the optional property `targethoursRow/monthly_target` from the response with the `200` status
  - removed the optional property `targethoursRow/saturday` from the response with the `200` status
  - removed the optional property `targethoursRow/sunday` from the response with the `200` status
  - removed the optional property `targethoursRow/thursday` from the response with the `200` status
  - removed the optional property `targethoursRow/tuesday` from the response with the `200` status
  - removed the optional property `targethoursRow/wednesday` from the response with the `200` status
  - removed the optional property `targethoursRow/workday_friday` from the response with the `200` status
  - removed the optional property `targethoursRow/workday_monday` from the response with the `200` status
  - removed the optional property `targethoursRow/workday_saturday` from the response with the `200` status
  - removed the optional property `targethoursRow/workday_sunday` from the response with the `200` status
  - removed the optional property `targethoursRow/workday_thursday` from the response with the `200` status
  - removed the optional property `targethoursRow/workday_tuesday` from the response with the `200` status
  - removed the optional property `targethoursRow/workday_wednesday` from the response with the `200` status
  - the request property `surcharge_models_id` became nullable

---

[Operation](https://skmtc.dev/clockodo/apis/clockodo-api-documentation/docs/targethours/:id/put.md) - [API](https://skmtc.dev/clockodo/apis/clockodo-api-documentation.md) - [Page](https://skmtc.dev/clockodo/apis/clockodo-api-documentation/changes/targethours/:id/put)
