Discard a timesheet
Discard a timesheet for a shift that was not worked.
POST https://cotlet.dev/api/v1/deputy/timesheets/{timesheet_id}/discard
write Confirm
Discards one timesheet, for example an unsubmitted one where the shift was not worked. The employee's pay for that shift is not created. It affects pay, so it waits for you. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| timesheet_id integer required | integer | Timesheet ID from list_timesheets. |
Request
curl -X POST https://cotlet.dev/api/v1/deputy/timesheets/1/discard \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("deputy", "discard_timesheet", {"timesheet_id":1}) const result = await cotlet.call('deputy', 'discard_timesheet', {"timesheet_id":1}); cotlet call deputy discard_timesheet --data '{"timesheet_id":1}' Example response
{
"timesheet_id": 4830,
"employee": "Sam Okafor",
"date": "2026-10-11",
"status": "discarded"
}