RyTask docs
REST APITime logs

Edit a time log

Owners can edit their own entries; org admins can edit anyone's. Setting `classification` marks the entry as overridden. Every edit is recorded in the item's activity feed. Requires `work:write`.

View as MarkdownOpen in ChatGPTOpen in Claude
PATCH
/time-logs/{id}

Owners can edit their own entries; org admins can edit anyone's. Setting classification marks the entry as overridden. Every edit is recorded in the item's activity feed. Requires work:write.

Authorization

bearerAuth
AuthorizationBearer <token>

A session access token or a personal access token.

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/time-logs/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "workItemId": "1769c5a2-ca6e-4792-8bf1-b1a261dc7481",    "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",    "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",    "startedAt": "2019-08-24T14:15:22Z",    "endedAt": "2019-08-24T14:15:22Z",    "durationSeconds": 1,    "note": "string",    "billable": true,    "source": "TIMER",    "classification": "PLANNED",    "classificationOverridden": true,    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}
Empty
Empty
Empty