Skip to main content
POST
Bulk Delete Transport Routes

Bulk Delete Transport Routes

Delete multiple transport routes at once by providing a list of IDs. All associated transport sections and their total_impacts records are removed automatically. Progress is tracked asynchronously and a notification is published via SSE when the operation completes. IDs that do not exist or belong to a different organization are silently reported as failures in the response — the rest of the batch still proceeds.

Request

Headers

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

Body

array
required
List of transport route UUIDs to delete. Minimum 1, maximum 100,000 per request.Example: ["010ed3b6-b513-40f3-b9fe-0f0a338d9274", "550e8400-e29b-41d4-a716-446655440000"]

Response

integer
Number of transport routes successfully deleted
array
UUIDs of the transport routes that were successfully deleted
integer
Number of transport routes that could not be deleted
array
UUIDs of the transport routes that failed (e.g. ID not found or belongs to a different organization)
string
Human-readable summary of the operation outcome
A partial success is possible: if some IDs fail validation the rest are still deleted. Check failed_ids to identify which routes were not removed and why.

Example

Successful Response

All routes deleted

Common Errors

401 Unauthorized

Cause: Missing or invalid API key / JWT token

403 Forbidden

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

422 Unprocessable Entity

Cause: transport_ids is empty or exceeds 100,000 items

List Transport Routes

Retrieve all transport routes with filtering and pagination

Bulk Delete by Filters

Delete all routes matching a set of filters at once

Delete Transport Route

Delete a single transport route by ID

Transport Overview

Full data model and distance calculation reference