The link stops resolving on the very next request. The record of who published it and when is kept, and revoking does not stop you minting a fresh link later. Idempotent and deliberately mute about which case it hit: already revoked, never shared and revoked just now all answer the same, because the alternative tells a caller whether a link existed.
Request
DELETE https://traqocontainer.com/api/v1/shipments/{id}/share
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 (the |
Example request
curl -X DELETE "https://traqocontainer.com/api/v1/shipments/MSCU1234567/share" \
-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}/share with a schema-identical reply.
Responses
Example 200 body:
{
"success": true,
"data": {
"revoked": true
}
}| Status | Meaning |
|---|---|
200 | No live link remains for this shipment. |
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.