Skip to main content
POST
Bulk Delete Requests by Filters

Bulk Delete Requests by Filters

Delete all logistics requests matching the given filter criteria. Uses filter_hash for optimistic concurrency — ensuring you delete exactly what the user saw in the list.

Request

Headers

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

Query Parameters

At least one filter parameter is required.
Search across movement ID and stretch ID
string[]
Filter by client name(s)
string
Filter by trip date on or after (YYYY-MM-DD)
string
Filter by trip date on or before (YYYY-MM-DD)
string[]
Filter by vehicle type(s)
string
Filter by trip status
string[]
Filter by uploader user UUID(s)
string[]
Filter by file UUID(s)
string
Filter by project UUID

Body Parameters

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

Example

Successful Response

string[]
UUIDs of deleted requests.
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.

422 Unprocessable Entity

Cause: At least one filter parameter is required for bulk delete by filters.

Batch Delete Requests

Delete specific requests by ID

List Requests

Browse logistics requests