---
title: "Update an existing time log"
method: PUT
path: "/time_logs/{id}.json"
tags: ["Time logs"]
---

# Update an existing time log

`PUT /time_logs/{id}.json`

## Path parameters

- `id` string, required

## Request body

- TimeLogUpdate
  - `start` string, date-time
  - `stop` string, date-time
  - `comments` string

## Response `204`

time log found

## Other responses

- `401` — missing or wrong api key
- `403` — insufficient permissions
- `404` — nothing found

## Changes

> 4 revisions in range; 1 could not be searched.

- **2023-02-20** (v1) `0bc2c812b865` — 1 info
  - removed the non-success response with the status `400`
- **2017-07-21** (v1) `7805e8118edd` — 1 breaking, 1 info
  - removed the request body
  - added the non-success response with the status `400`

[Change history](https://skmtc.dev/hicknhack-software/apis/hourglass-api/changes/time_logs/: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)
