PATCH
/
time-entries
/
{id}
Update a time entry
curl --request PATCH \
  --url https://api.plane.com/v1/time-entries/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "duration": 123,
  "date": "<string>",
  "note": "<string>"
}'
{ "id": "tme_1HPCXADYAhh5k1NMU0r1WUqs" }

Parameters

id
string
required
The ID of the time entry to update.
duration
decimal
New duration in hours. Must be greater than 0 and less than 24.
date
date
New date for this time entry.
note
string
New note for this time entry.

Returns

Returns the updated time entry ID on success.
{ "id": "tme_1HPCXADYAhh5k1NMU0r1WUqs" }