Skip to Content
DevelopersAPI referenceTime

Bulk update

PATCH
/v1/time-entries/bulk

Authorization

apiKey
headerAuthorizationBearer <token>

An API key (blk_…) from Settings → API keys.

Request Body

application/json
  1. body
ids*array<>
Items1 <= items <= 500
projectId?|
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
taskId?|
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
billable?boolean
tagIds?array<>
Itemsitems <= 20
tagMode?string
Value in"replace""add"

Response Body

application/json
  1. response
updated*integer
Range-9007199254740991 <= value <= 9007199254740991
skipped*integer
Range-9007199254740991 <= value <= 9007199254740991
Example Request
curl -X PATCH 'https://your-billleaf-api/v1/time-entries/bulk' \  -H 'Content-Type: application/json' \  -d '{  "ids": [    "6e0346a3-e54d-40e3-9779-4ba1e707e35b"  ]}'
Example Response200
{  "updated": -9007199254740991,  "skipped": -9007199254740991}