---
title: "Update a time log"
method: PATCH
path: "/time-logs/{id}"
---

# Update a time log

`PATCH /time-logs/{id}`

## Request

- Base URL: `https://api.reps-log.com/v1`
- URL: `https://api.reps-log.com/v1/time-logs/{id}`
- Auth: HTTP bearer

Edit fields of an existing entry; pass only the fields to change. STR/LTR is re-derived from the property.

## Path parameters

- `id` string, required

## Request body

- object
  - `propertyId` string
  - `description` string
  - `durationMinutes` integer
  - `categoryId` string
  - `performedOn` string, date
  - `performedBy` 'self' | 'spouse'

## Response `200`

Updated

- object
  - `ok` true, required
  - `data` object, required
    - `id` string
    - `url` string
    - `propertyId` string
    - `categoryId` string
    - `description` string
    - `durationMinutes` number
    - `performedOn` string
    - `performedBy` string
    - `isSTR` boolean
    - `source` string

## Other responses

- `400`: Validation / bad request
- `401`: Unauthenticated
- `403`: Forbidden scope / not Premium
- `404`: Not found
- `429`: Rate limited

---

[API](https://skmtc.dev/reps-log/apis/repslog-api.md) · [All operations](https://skmtc.dev/reps-log/apis/repslog-api/llms.txt) · [OpenAPI document](https://skmtc.dev/reps-log/apis/repslog-api/revisions/304ab3847932?raw)
