Update Time Entry for Unit
PUT/api/repairs/:repair/lines/:line/time-entries/:entry
Edits a time entry, or confirms one the daily timer cap stopped (saving clears is_capped). The labour cost is restated. Send only the fields to change.
repairs:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Fields (all optional):
started_at(datetime).ended_at(datetime or null).minutes(number or null, > 0, max 1440).note(string or null, max 255).
A running entry can't be edited; stop the timer first.
Authentication: Bearer token with the repairs:write scope.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.