---
title: "Delete a time-entry by id"
method: DELETE
path: "/api/v3/timeentries/{timeEntryId}"
tags: ["TimeEntries"]
---

# Delete a time-entry by id

`DELETE /api/v3/timeentries/{timeEntryId}`

Delete a time-entry. Deletion is irrevocable.

The "id" field must be set and correspond to an existing time-entry.

It actually doest not delete entirely the object, but rather sets the "archivedAt" field to the current DateTime.

Read more about the [time-entry object](/api-reference/legacy/timmi-timesheet/time-entries/time-entry) and any validation error that you might encounter when using this API.

There are different ways to update time-entries. Please see [this guide](/api-reference/legacy/timmi-timesheet/guides/update-time-entries) on how to update `time-entries` the right way depending on your use case.

## Response `200`

OK

## Other responses

- `400` — Problem
- `401` — Problem
- `403` — Problem
- `404` — Problem
- `500` — Problem

---

[API](https://skmtc.net/luccasoftware/apis/lucca-expenses.md) · [All operations](https://skmtc.net/luccasoftware/apis/lucca-expenses/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/luccasoftware/lucca-expenses/revisions/110f9897756c/schema)
