Removes the shipment from tracking. If it was added this cycle, its slot is not returned — the data was already fetched. One added in an earlier cycle stops counting. See the slot policy for the narrow exception. Local — the call itself never consumes a slot. 404 unless this key’s own user added it: a teammate’s shipment reads 200 on GET and answers 404 here. A shipment that never found tracking data (status FAILED) can be deleted too, by its container or bill-of-lading number. 404 when nothing was removed, never deleted: true.
Request
DELETE https://traqocontainer.com/api/v1/shipments/{id}
Your API key as a Bearer token: Authorization: Bearer YOUR_API_KEY.
Rate limit.Each API key gets 120 requests per minute by default; your key's own budget comes back in the X-RateLimit-* headers.Limits by plan.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | The shipment id to untrack, or the container / bill-of-lading number you track it by. |
Example request
curl -X DELETE "https://traqocontainer.com/api/v1/shipments/MSCU1234567" \
-H "Authorization: Bearer YOUR_API_KEY"Run it in the sandbox — no key, no account: the same request answers at https://traqocontainer.com/api/v1/sandbox/shipments/{id} with a schema-identical reply.
Responses
Example 200 body:
{
"success": true,
"deleted": true,
"shipment_id": "SHP-1000"
}| Status | Meaning |
|---|---|
200 | Untracked. A slot taken this cycle is not returned |
400 | Bad request — check required parameters. |
401 | Invalid or missing API key. |
403 | Developer mode not enabled, or the feature is not on your plan. |
404 | Resource not found. |
429 | Rate limit exceeded — see the Retry-After header. The body names the plan the limit was computed from ( |
Error bodies and retry advice: Errors.