Timesheets

Delete timesheet

DELETE timesheet

Endpoint

DELETE /api/v1/timesheets/:id

Request

Route

DELETE /api/v1/timesheets/206

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNjQ1Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQyNDY0OTQ4LCJleHAiOjE3NDUwNTY5NDgsImp0aSI6IjE5ZjYxYzQ2LTYxMmUtNGY1OS05NjEyLTMzN2U3MTNmZTA0YiJ9.pIOM6Hw0whwIAN_t_xC2MsmaMfHrPr8RfpHEPysPe6c
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/"ad283b2793291113b978bf34b8a403f4"
cache-control: max-age=0, private, must-revalidate
x-request-id: e434fd8e-8922-44be-aa96-06e44f99031b
x-runtime: 0.010404
content-length: 131

Body

{
  "timesheet": {
    "id": 206,
    "date": "2025-03-20",
    "job_title": "Community-Services Engineer",
    "payment_state": "pending",
    "status": "deleted"
  }
}