> ## Documentation Index
> Fetch the complete documentation index at: https://kliio.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Time Entry

> Permanently deletes a time entry.

### Headers

<ParamField header="Authorization" type="string" required>
  `Bearer YOUR_API_KEY`
</ParamField>

### Path Parameters

<ParamField path="id" type="string" required>
  UUID of the time entry to delete.
</ParamField>

<Warning>
  This action is irreversible.
</Warning>

### Response

<ResponseField name="success" type="boolean">`true` on deletion.</ResponseField>
<ResponseField name="message" type="string">`"Time entry deleted"`</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE https://kliio.app/api/v1/time-entries/te-uuid-... \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```

  ```js JavaScript theme={null}
  const res = await fetch('https://kliio.app/api/v1/time-entries/te-uuid-...', {
    method: 'DELETE',
    headers: { Authorization: 'Bearer YOUR_API_KEY' }
  })
  const result = await res.json()
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "message": "Time entry deleted"
  }
  ```

  ```json 404 theme={null}
  { "error": "Time entry not found or access denied" }
  ```
</ResponseExample>
