# PUT /api/timesheets/{id} > Timesheets - Update a Timesheet - **Endpoint:** `PUT /api/timesheets/{id}` - **Group:** Timesheets - **Since:** v1.0.0 - **Defined in:** `RestApi/Controllers/TimesheetsController.php` ## Headers | Field | Type | Description | | --- | --- | --- | | `authtoken` | String | Authentication token, generated from admin area | ## Parameters | Field | Type | Required | Description | | --- | --- | --- | --- | | `id` | Number | yes | Timesheet unique ID | | `project_id` | Number | no | Optional Project ID | | `user_id` | Number | no | Optional User ID | | `task_id` | Number | no | Optional Task ID | | `start_time` | String | no | Optional Start time (Y-m-d H:i:s) | | `end_time` | String | no | Optional End time (Y-m-d H:i:s) | | `hours` | Number | no | Optional Manually logged hours | | `note` | String | no | Optional Note | ## Request example ```bash curl -X PUT "https://yoursite.com/index.php/api/timesheets/123" \ -H "authtoken: YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "field": "value" }' ``` --- Part of the [REST API for RISE CRM](https://risecrm.themesic.com/apiguide/) documentation. Full page: https://risecrm.themesic.com/apiguide/timesheets/update-timesheet/