---
title: "Bulk Delete Time Entries By Id"
method: POST
path: "/api/v1/time_entries/bulk-delete-by-id"
tags: ["time_entries", "time_entries"]
---

# Bulk Delete Time Entries By Id

`POST /api/v1/time_entries/bulk-delete-by-id`

## Request

- Base URL: `https://api.peil.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.peil.app/api/v1/time_entries/bulk-delete-by-id`
- Auth: none declared

Delete a selection in one request; each id is checked as
`DELETE /time_entries/{id}` would check it, and one locked row does not stop
the others (409s come back per id).

## Query parameters

- `force` boolean

## Request body

- TimeEntryBulkDeleteById: Delete these exact rows. (`TimeEntryBulkDelete` deletes by date: every entry on each day, which is not what deleting a selection means.)
  - `ids` integer[], required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/peil/apis/peil-api.md) · [All operations](https://skmtc.dev/peil/apis/peil-api/llms.txt) · [OpenAPI document](https://skmtc.dev/peil/apis/peil-api/revisions/ee3ca1246dde?raw)
