Skip to main content

Delete time entry

DELETE 

/api/v1/time_entries/:id

Hard-delete a time entry by id (the record is removed) and return its final serialized representation. Destruction runs the model's after_destroy cascade — recomputing the time card's rollups, uncategorized allocations, PWA/actuals (when paystubs exist), and reassigning shifts. Returns 403 when the entry belongs to another company, and 422 (RecordNotDestroyed) when its time card is locked.

Required scope:

time_entries:delete

Request

Responses

Success