BillOS v1
Console llms.txt OpenAPI
DELETE/webhooks/{id}

Delete a webhook endpoint

DELETE /webhooks/{id}

Requires the businesses scope.

Removes the endpoint and its delivery history.

Path parameters

NameTypeDescription
idstringrequiredWebhook endpoint id.

Response

200: { "ok": true, … }

FieldTypeDescription
okbooleanrequired

Errors: 400, 401, 403, 404, 429. Every failure answers { "error": …, "reason": … }. Branch on reason.

DELETE /webhooks/{id}
curl -X DELETE "$BASE/webhooks/$DOC_ID" \
  -H "X-Api-Key: $KEY"
const res = await fetch(`${BASE}/webhooks/${DOC_ID}`, {
  method: 'DELETE',
  headers: {
    'X-Api-Key': KEY,
  },
})
const data = await res.json()
if (!data.ok) throw new Error(data.reason)
import requests
res = requests.delete(
    f"{BASE}/webhooks/{DOC_ID}",
    headers={"X-Api-Key": KEY},
)
data = res.json()
Set BASE to https://api.billos.co.il/v1 and KEY to your bk_live_… key, or a bk_test_… key to run it against the sandbox.
Manage your businesses, keys and webhooks in the BillOS Console.