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. Delivery to it stops immediately.
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. No further events are delivered to it. To stop delivery temporarily without deleting, update it with
active: false instead.
Path Parameters
string
required
The endpoint’s id.
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. |