DELETEAPI key
Delete an endpoint
DELETEapi.trackingmcp.com/v1/webhooks/{id}
Remove the endpoint and its delivery history. Queued deliveries are discarded rather than sent. To pause instead, PATCH active to false, which keeps the secret and the history. The call is idempotent and does not check first, so deleting an id that never existed also answers deleted: true.
Path parameters
id
Endpoint id.
Response fields
Derived from the example response.
ok
Whether the request succeeded.
data
The payload. Everything an endpoint returns sits under this key.
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.
data.deleted
curl -X DELETE 'https://api.trackingmcp.com/v1/webhooks/3f1c9a4e-7b52-4f0e-9a41-2c9d5e6b8a10' \
-H "Authorization: Bearer tmcp_YOUR_API_KEY"const res = await fetch("https://api.trackingmcp.com/v1/webhooks/3f1c9a4e-7b52-4f0e-9a41-2c9d5e6b8a10", {
method: "DELETE",
headers: {
"Authorization": "Bearer tmcp_YOUR_API_KEY"
}
});
const data = await res.json();import requests
res = requests.delete(
"https://api.trackingmcp.com/v1/webhooks/3f1c9a4e-7b52-4f0e-9a41-2c9d5e6b8a10",
headers={"Authorization": "Bearer tmcp_YOUR_API_KEY"},
)
data = res.json() Response
{
"ok": true,
"data": { "id": "3f1c9a4e-7b52-4f0e-9a41-2c9d5e6b8a10", "deleted": true }
}