Skip to main content
POST
Bulk Delete Recharges by Filters
← Logistics API Delete all logistics fuel recharges matching the given filter criteria. Uses filter_hash for optimistic concurrency.

Request

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
Your organization UUIDExample: a8315ef3-dd50-43f8-b7ce-d839e68d51fa

Query Parameters

No filter is required: without one the delete covers every recharge of the organization the unfiltered list shows.
Search by vehicle license plate
string[]
Filter by vehicle type(s)
string[]
Filter by fuel UUID(s)
string[]
Filter by vehicle license plate(s)
string[]
Filter by file UUID(s)
string
Filter by recharge date on or after (YYYY-MM-DD)
string
Filter by recharge date on or before (YYYY-MM-DD)
string
Filter by recharge status
string
Filter by project UUID

Body Parameters

string
required
Hash from the list endpoint response. Must match the current filter set.

Example

Response

Successful Response

string[]
UUIDs of deleted recharges.
object[]
Failed deletions with reason.

Common Errors

401 Unauthorized

Cause: Missing or invalid API key

403 Forbidden

Cause: The authenticated user is not a member of the organization

409 Conflict

Cause: Filter hash mismatch. The filters have changed since the list was loaded. Please refresh and try again.

Batch Delete Recharges

Delete specific recharges by ID

List Recharges

Browse logistics recharges