---
title: "Update an existing time tracker"
method: PUT
path: "/time_trackers/{id}.json"
tags: ["Time trackers"]
---

# Update an existing time tracker

`PUT /time_trackers/{id}.json`

## Path parameters

- `id` string, required

## Request body

- TimeTrackerUpdate
  - `start` string, date-time
  - `user_id` integer
  - `project_id` integer
  - `activity_id` integer
  - `issue_id` integer
  - `comments` string

## Response `200`

time tracker updated

## Other responses

- `400` — time tracker not updated
- `401` — missing or wrong api key
- `403` — insufficient permissions
- `404` — nothing found

## Changes

- **2026-07-17** (v1) `42cc6d20ab5d` — 1 breaking, 2 info
  - removed the success response with the status `204`
  - added optional request body
  - added the success response with the status `200`
- **2017-07-21** (v1) `7805e8118edd` — 2 breaking, 1 info
  - removed the request body
  - removed the success response with the status `200`
  - added the success response with the status `204`

[Change history](https://skmtc.dev/hicknhack-software/apis/hourglass-api/changes/time_trackers/:id.json/put.md)

---

[API](https://skmtc.dev/hicknhack-software/apis/hourglass-api.md) · [All operations](https://skmtc.dev/hicknhack-software/apis/hourglass-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hicknhack-software/hourglass-api/revisions/42cc6d20ab5d/schema)
