Update an employee time entry
team:time-tracking.writehttps://api.holded.com/api/v2/employee-times/{timeId}Updates the start and end times of an existing time tracking entry.
Parameters
Path parameters
stringrequiredEmployee time entry ID
Request body
Start time in the user's local timezone. Use ISO 8601 format without UTC offset (e.g. 2026-03-01T09:00:00) so the API interprets it in the account timezone. Do not use +00:00 — it will shift the stored time by the account's UTC offset. Date-only (e.g. 2026-03-01) is also accepted.
End time in the user's local timezone. Use ISO 8601 format without UTC offset (e.g. 2026-03-01T17:00:00) so the API interprets it in the account timezone. Do not use +00:00 — it will shift the stored time by the account's UTC offset. Date-only (e.g. 2026-03-01) is also accepted.
Optional list of pauses within the time entry. Each pause must be within the start/end range.
Pause start time in local time without timezone offset (e.g. 2026-03-01T14:00:00). Do NOT append +00:00 or Z.
Pause end time in local time without timezone offset (e.g. 2026-03-01T15:00:00). Do NOT append +00:00 or Z.
Request
import requests
url = "https://api.holded.com/api/v2/employee-times/{timeId}"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
payload = {
"start_at": "2026-03-01T09:00:00",
"end_at": "2026-03-01T17:00:00",
"pauses": [
{
"start_at": "2026-03-01T14:00:00",
"end_at": "2026-03-01T15:00:00"
}
]
}
response = requests.put(url, headers=headers, json=payload)
print(response.json())Responses
Response
{
"id": "string"
}Success responses
200Time entry updatedapplication/jsonError responses
400Bad requestapplication/json401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json404Time entry not foundapplication/json422Validation errorapplication/json429Rate limit exceededapplication/json