Skip to content
DELETEAPI key

Delete an endpoint

DELETEapi.aircargomcp.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. Management, so a valid key is enough.

Path parameters

idstringrequired

Endpoint id.

Response schema

3 fields

Derived from the example response, nested as the JSON is.

dataobject

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

idstring

Stable identifier for the record: the endpoint id on the webhook routes, the delivery id on a delivery row.

deletedboolean

True when the endpoint is gone. Deliveries stop immediately and its history goes with it.

curl -X DELETE 'https://api.aircargomcp.com/v1/webhooks/3f1c9a4e-7b52-4f0e-9a41-2c9d5e6b8a10' \
  -H "Authorization: Bearer tmcp_YOUR_API_KEY"
Response
{
  "data": { "id": "3f1c9a4e-7b52-4f0e-9a41-2c9d5e6b8a10", "deleted": true }
}