cURL
curl --request DELETE \ --url https://api.leanrails.com/v1/webhook_endpoints/{id} \ --header 'Authorization: Basic <encoded-value>'
{ "id": "we_xxx", "object": "webhook_endpoint", "deleted": true }
Use your secret API key as the username with an empty password.
Override the API version for this request.
Confirmation of deletion.
"we_xxx"
"webhook_endpoint"
true