Delete timesheet
Timesheets
DELETE timesheet
Endpoint
DELETE /api/v1/timesheets/:id
Request
Route
DELETE /api/v1/timesheets/204
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNjY5Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQ4NTE2NTM1LCJleHAiOjE3NTExMDg1MzUsImp0aSI6ImM3MGM1NzkzLTVhZjYtNDE0YS04YjY4LTI4NWIyMWQzMWFhZCJ9.Ta2kn74TKgQPBgzwBAH_ptmmucfCMSEeScXbz_4_X_8
Host: example.org
Cookie:
Body
{
}
Response
Simulated Response
Status
200
Headers
x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"484e7e7733e78ef934bd4406dc9b8289"
cache-control: max-age=0, private, must-revalidate
x-request-id: 57968c10-e442-449a-bfd5-3fb6002e1a7a
x-runtime: 0.021000
content-length: 124
Body
{
"timesheet": {
"id": 204,
"date": "2025-05-29",
"job_title": "Government Assistant",
"payment_state": "pending",
"status": "deleted"
}
}