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

Parameters: discard_timesheet
NameTypeDescription
timesheet_id integer required integer Timesheet ID from list_timesheets.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/deputy/timesheets/1/discard \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("deputy", "discard_timesheet", {"timesheet_id":1})
Node.js
const result = await cotlet.call('deputy', 'discard_timesheet', {"timesheet_id":1});
CLI
cotlet call deputy discard_timesheet --data '{"timesheet_id":1}'

Example response

JSON

{
  "timesheet_id": 4830,
  "employee": "Sam Okafor",
  "date": "2026-10-11",
  "status": "discarded"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.