Timesheets

Delete timesheet

DELETE timesheet

Endpoint

DELETE /api/v1/timesheets/:id

Request

Route

DELETE /api/v1/timesheets/207

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNjU1Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYwOTUwNDczLCJleHAiOjE3NjM1NDI0NzMsImp0aSI6IjY0ZmRjNjc1LTIyMDItNDJhMy1hMTJlLTA4MjhkMWJiZGUyMyJ9.z0LDGqxz7ub1qr0zayR1-wJpxYBpAbeCk_kPUJKRSgE
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/"a23dee6d2da648a5ceb4eb09c8e77b8c"
cache-control: max-age=0, private, must-revalidate
x-request-id: daeecda6-35ff-4d66-a36f-e65b4afad942
x-runtime: 0.010464
content-length: 145

Body

{
  "timesheet": {
    "id": 207,
    "currency": "GBP",
    "date": "2025-10-20",
    "job_title": "International Specialist",
    "payment_state": "pending",
    "status": "deleted"
  }
}