Docs / Delete a webhook
Delete a webhook
Delete a webhook and its delivery log.
DELETE/v1/webhooks/{id} · API key required
Deletes the webhook and its delivery log. Watchlists that sent to it are kept and have no webhook until you create one.
Parameters
| Name | In | Required | Description |
|---|---|---|---|
id | path | yes | The webhook id, such as wh_3f9a1c07b2d4. Example: wh_3f9a1c07b2d4 |
Request
curl -X DELETE https://recalldb.app/v1/webhooks/wh_3f9a1c07b2d4 \
-H "Authorization: Bearer $RECALLDB_KEY"const res = await fetch('https://recalldb.app/v1/webhooks/wh_3f9a1c07b2d4', {
method: 'DELETE',
headers: { Authorization: `Bearer ${process.env.RECALLDB_KEY}` },
})
console.log(await res.json())import os, requests
r = requests.delete("https://recalldb.app/v1/webhooks/wh_3f9a1c07b2d4", headers={"Authorization": f"Bearer {os.environ['RECALLDB_KEY']}"})
r.raise_for_status()
body = r.json()
print(body)Response
200 OK
{
"data": {
"id": "wh_3f9a1c07b2d4",
"deleted": true
}
}Every response includes source (agency, official ID, official URL, last updated) and attribution. Attribution rules.
Notes
- Counts as one request.
Errors: error codes. Limits: rate limits.