---
title: "Start bulk operation on time entries"
method: POST
path: "/time-entries/bulk"
tags: ["TimeEntries"]
---

# Start bulk operation on time entries

`POST /time-entries/bulk`

## Request

- Base URL: `https://app.buildworkpro.com/api/v1`
- URL: `https://app.buildworkpro.com/api/v1/time-entries/bulk`
- Auth: HTTP bearer

Enqueues a bulk delete/restore job for up to 500 time entry ids.

## Headers

- `Idempotency-Key` string, uuid

## Request body

- object
  - `operation` 'delete' | 'restore', required
  - `ids` integer[], required

## Response `202`

Job enqueued

- object
  - `data` object, required
    - `job_id` string, required
    - `status_url` string, required
  - `meta` ResponseMeta, required
    - `request_id` string: Server-generated request identifier
    - `pagination` PaginationMeta
      - `cursor` string, nullable, required: Opaque cursor for the next page; null when no more results
      - `has_more` boolean, required: Whether more pages are available after this one
      - `count` integer, required: Items in this page

## Other responses

- `403`: Error
- `422`: Error

---

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