Skip to content
DELETEAPI key

Stop tracking

DELETEapi.trackingmcp.com/v1/containers/{id}

Archive a container. History is kept, polling stops.

Path parameters

idstringrequired

The container UUID.

Response fields

Derived from the example response.

okboolean

Whether the request succeeded.

dataobject

The payload. Everything an endpoint returns sits under this key.

data.archivedboolean

True when the container was archived.

data.idstring

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.

UNAUTHORIZED401

The key is missing, malformed or revoked.

NOT_FOUND404

No container with that UUID on your account.

INTERNAL_ERROR500

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"
Response
{
  "ok": true,
  "data": {
    "archived": true,
    "id": "8f1c2d4e-6a3b-4f52-9c70-11ab22cd33ef"
  }
}