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.eyJzdWIiOiIxNTc5Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYwOTUwNDcwLCJleHAiOjE3NjM1NDI0NzAsImp0aSI6ImYzZjJlZmFmLTBhYTgtNDE1ZS05ZGNmLWM2YmU2NTBhYzllYiJ9.4o-g5cW4FM_AScuGRCZdplQIN6iKW8rDHxTO6GGYO3A
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/"b0d8d8660b36d18483496ecefaac5a6d"
cache-control: max-age=0, private, must-revalidate
x-request-id: 4605a259-a511-481f-90f5-f0082406c92f
x-runtime: 0.033390
content-length: 169
Body
{
"timelog": {
"id": 206,
"amend_status": "approved",
"breaks": [
],
"duration": {
"hours": 8,
"minutes": 1
},
"end_at": "2025-10-20T16:54:30.827Z",
"start_at": "2025-10-20T08:53:30.827Z"
}
}