> ## Documentation Index
> Fetch the complete documentation index at: https://docs.plane.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update a time entry

### Parameters

<ParamField path="id" type="string" required>
  The ID of the time entry to update.
</ParamField>

<ParamField body="duration" type="string">
  New duration in hours. Must be greater than 0 and less than 24.
</ParamField>

<ParamField body="date" type="string">
  New date for this time entry.
</ParamField>

<ParamField body="note" type="string">
  New note for this time entry.
</ParamField>

### Returns

Returns the updated time entry ID on success.

<ResponseExample>
  ```json Success theme={null}
  { "id": "tme_1HPCXADYAhh5k1NMU0r1WUqs" }
  ```
</ResponseExample>
