DELETEAPI key
Delete an endpoint
DELETEapi.schedulesmcp.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
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.schedulesmcp.com/v1/webhooks/3f1c9a4e-7b52-4f0e-9a41-2c9d5e6b8a10' \
-H "Authorization: Bearer smcp_YOUR_API_KEY"const res = await fetch("https://api.schedulesmcp.com/v1/webhooks/3f1c9a4e-7b52-4f0e-9a41-2c9d5e6b8a10", {
method: "DELETE",
headers: {
"Authorization": "Bearer smcp_YOUR_API_KEY"
}
});
const data = await res.json();import requests
res = requests.delete(
"https://api.schedulesmcp.com/v1/webhooks/3f1c9a4e-7b52-4f0e-9a41-2c9d5e6b8a10",
headers={"Authorization": "Bearer smcp_YOUR_API_KEY"},
)
data = res.json() Response
{
"ok": true,
"data": { "id": "3f1c9a4e-7b52-4f0e-9a41-2c9d5e6b8a10", "deleted": true }
}