Approve a timelog(amend)
Timelogs
PUT approve timelog(amend)
Endpoint
PUT /api/v1/timesheets/:timesheet_id/timelogs/:id
Request
Route
PUT /api/v1/timesheets/179/timelogs/205
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNjAwIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzUzMjY2MjE4LCJleHAiOjE3NTU4NTgyMTgsImp0aSI6IjFmOTk5ODgyLTFmNTQtNDhkYi1hYTU3LWVlNWE4ZTFmNDg2MyJ9.o0zIUv1NpzOZu45RoPnMn0oyVXnBYQq-ZMde8DmNPUo
Host: example.org
Cookie:
Body
{
}
Response
Simulated Response
Status
200
Headers
x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"59a34e5d35944234ef60712f56205244"
cache-control: max-age=0, private, must-revalidate
x-request-id: 98274220-8f46-45f7-8f55-950519b2e427
x-runtime: 0.041691
content-length: 169
Body
{
"timelog": {
"id": 206,
"amend_status": "approved",
"breaks": [
],
"duration": {
"hours": 8,
"minutes": 1
},
"end_at": "2025-07-23T18:23:38.466Z",
"start_at": "2025-07-23T10:22:38.466Z"
}
}