---
title: "Update time entry with clock out time"
method: PATCH
path: "/api/v1/community/time-entries/{id}"
tags: ["community"]
---

# Update time entry with clock out time

`PATCH /api/v1/community/time-entries/{id}`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/v1/community/time-entries/{id}`
- Auth: HTTP bearer

Update time entry with clock out time

## Path parameters

- `id` string, required

## Request body

- object
  - `clockOut` string, date-time, required: Clock out timestamp (ISO 8601)

## Response `200`

Default Response

- object
  - `success` true, required
  - `data` object, required
    - `id` string: UUID of the timesheet entry
    - `date` string
    - `startTime` string
    - `endTime` string, nullable
    - `serverId` number
    - `serverName` string
    - `rate` number
    - `durationHours` number, nullable: Total hours (active + idle)
    - `activeHours` number, nullable: Active hours (paid time)
    - `idleHours` number, nullable: Idle hours (unpaid time)
  - `meta` object, required
    - `timestamp` number, required

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response
- `422`: No active time entry to clock out
- `500`: Default Response

---

[API](https://skmtc.dev/farmersonly/apis/farmersonly-club-api.md) - [All operations](https://skmtc.dev/farmersonly/apis/farmersonly-club-api/llms.txt) - [OpenAPI document](https://skmtc.dev/farmersonly/apis/farmersonly-club-api/revisions/b4fa9123ba90?raw)
