DELETEAPI key
Stop tracking
DELETEapi.trackingmcp.com/v1/containers/{id}
Archive a container. History is kept, polling stops.
Path parameters
id
The container UUID.
Response fields
Derived from the example response.
ok
Whether the request succeeded.
data
The payload. Everything an endpoint returns sits under this key.
data.archived
True when the container was archived.
data.id
Stable identifier for the record. On the tracking endpoints this is the container UUID, except on a portfolio summary row, where it is the container number.
Errors
A failure carries { "ok": false, "error": { "code", "message", "severity" } }. Branch on the code, and log the message.
UNAUTHORIZED
The key is missing, malformed or revoked.
NOT_FOUND
No container with that UUID on your account.
INTERNAL_ERROR
The archive write failed. The box is still being polled. Retry.
curl -X DELETE 'https://api.trackingmcp.com/v1/containers/8f1c2d4e-6a3b-4f52-9c70-11ab22cd33ef' \
-H "Authorization: Bearer tmcp_YOUR_API_KEY"const res = await fetch("https://api.trackingmcp.com/v1/containers/8f1c2d4e-6a3b-4f52-9c70-11ab22cd33ef", {
method: "DELETE",
headers: {
"Authorization": "Bearer tmcp_YOUR_API_KEY"
}
});
const data = await res.json();import requests
res = requests.delete(
"https://api.trackingmcp.com/v1/containers/8f1c2d4e-6a3b-4f52-9c70-11ab22cd33ef",
headers={"Authorization": "Bearer tmcp_YOUR_API_KEY"},
)
data = res.json() Response
{
"ok": true,
"data": {
"archived": true,
"id": "8f1c2d4e-6a3b-4f52-9c70-11ab22cd33ef"
}
}