Skip to main content
DELETE
/
v1
/
webhooks
/
{id}
Disable a webhook
curl --request DELETE \
  --url https://api.ledger.so/v1/webhooks/{id} \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "data": {
    "id": "whk_bcd890",
    "deleted": true
  }
}

Authorizations

Authorization
string
header
required

API key passed as a Bearer token. Format: ld_<env>_<prefix>_<secret> where <env> is test or live.

Path Parameters

id
string
required

The webhook ID (prefixed with whk_).

Example:

"whk_bcd890"

Response

Webhook disabled successfully

ok
boolean
required

Indicates the request was successful.

data
object