Timesheets

Delete timesheet

DELETE timesheet

Endpoint

DELETE /api/v1/timesheets/:id

Request

Route

DELETE /api/v1/timesheets/193

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNjE0Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzM3NTUxNTg4LCJleHAiOjE3NDAxNDM1ODgsImp0aSI6ImQ4NGI4ZjAxLWUyY2MtNGUyMi05YTgyLTA5NDRmMDZkNDYwNCJ9.Q_RJ0xwAkwWx9GhfwwuvlVbk2NabB7tkpBwWu8urvUQ
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/"f39ffeb5c1cd1c7f1c58a8b1849729fd"
cache-control: max-age=0, private, must-revalidate
x-request-id: 55ea88a0-1f93-42c3-9c85-a87493c8512b
x-runtime: 0.011461
content-length: 127

Body

{
  "timesheet": {
    "id": 193,
    "date": "2025-01-22",
    "job_title": "Customer Representative",
    "payment_state": "pending",
    "status": "deleted"
  }
}