cURL
curl --request DELETE \ --url https://api.ledger.so/v1/webhooks/{webhookId} \ --header 'Authorization: Bearer <token>'
{ "ok": false, "error": { "code": "UNAUTHORIZED", "message": "Invalid API key" } }
Disables a webhook endpoint. The endpoint will no longer receive events.
Pass your API key as a Bearer token: Authorization: Bearer ld_live_...
Authorization: Bearer ld_live_...
The webhook ID
Webhook disabled