curl -X DELETE https://api.tracklysms.com/api/v2/webhooks/66b0f7c84a1d4b2e9c3a1f2e \
-H "X-Api-Key: trk_your_api_key"
{ "success": true }
Webhooks (v2)
Delete Webhook Endpoint
Delete a webhook endpoint to stop future delivery attempts.
DELETE
/
v2
/
webhooks
/
{endpoint_id}
curl -X DELETE https://api.tracklysms.com/api/v2/webhooks/66b0f7c84a1d4b2e9c3a1f2e \
-H "X-Api-Key: trk_your_api_key"
{ "success": true }
Deletes a webhook endpoint so subsequent delivery checks reject it. An HTTP request already in progress can still complete. To stop delivery temporarily without deleting, update it with
active: false instead.
Path Parameters
Examples
curl -X DELETE https://api.tracklysms.com/api/v2/webhooks/66b0f7c84a1d4b2e9c3a1f2e \
-H "X-Api-Key: trk_your_api_key"
{ "success": true }
Error Codes
| HTTP Status | Error Code | Description |
|---|---|---|
| 404 | not_found | No endpoint with that id on the account. |