---
search:
  tags:
    - timebookings
    - DELETE
seo:
  description: >-
    Soft deletes a time booking entry. The entry is marked as deleted but not…
    Reference for the DELETE /timebookings/{id} endpoint in the Leadtime Public
    API API.
sidebar:
  badge: DELETE
  label: Delete a time booking
title: Delete a time booking
type: openapi-operation
---
Soft deletes a time booking entry. The entry is marked as deleted but not permanently removed from the database.

**Who can delete time bookings:**
- You can always delete your own time bookings
- If you have the "deleteAnyTimeLog" permission, you can delete any time booking in the workspace
- Otherwise, you cannot delete time bookings created by other users

**How it works:**
- The time booking is soft deleted (marked as deleted, not permanently removed)
- Deleted entries are no longer visible in time tracking grids and reports
- The system validates that the time booking exists and belongs to your workspace
- If the time booking was linked to a task, the task's total time will be recalculated

**Use cases:**
- Removing accidentally created duplicate entries
- Deleting time logged to the wrong task or project
- Cleaning up test or incorrect time entries

<Operation source="api-reference" id="timebookingscontroller-deletetimebooking" />
