API reference › Webhooks › Delete endpoint
Delete a webhook endpoint
DELETE
/v1/webhooks/:idRemoves the endpoint. Nothing is sent to it again, and its secret stops being
valid. To pause an endpoint you intend to bring back, use
disabled instead — there is no undo here.
No CLI command yet — webhooks are managed over the API only.
curl -s -X DELETE https://api.propgate.dev/v1/webhooks/019fcf9a-3c4d-7e5f-a06b-7c8d9e0f1a2b \
-H "authorization: Bearer pg_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"{
"data": {
"deleted": true,
"id": "019fcf9a-3c4d-7e5f-a06b-7c8d9e0f1a2b"
},
"error": null,
"meta": null
}Deleting an endpoint does not delete its past deliveries. "Why did this webhook never arrive" is a question that outlives the endpoint it was asked about, so the delivery records stay.