healthcare.dev docs
API referenceWebhooks

Delete a webhook

DELETE /v1/webhooks/{id}

DELETE https://api.healthcare.dev/v1/webhooks/{id}

Pro plan and up (403 plan-upgrade-required below Pro); never counts as a billable call. Deletes the webhook, its pending deliveries and its delivery log.

Requires an API key: Authorization: Bearer hdev_live_.... See Authentication.

Path parameters

NameTypeRequiredDescriptionExample
idstringyesWebhook id5f0c2a8e-6b1d-4f7e-9a51-2c3d4e5f6a7b

Examples

curl

curl -X DELETE "https://api.healthcare.dev/v1/webhooks/5f0c2a8e-6b1d-4f7e-9a51-2c3d4e5f6a7b" \
  -H "Authorization: Bearer $HDEV_API_KEY"

TypeScript

const res = await fetch("https://api.healthcare.dev/v1/webhooks/5f0c2a8e-6b1d-4f7e-9a51-2c3d4e5f6a7b", {
  method: "DELETE",
  headers: { Authorization: `Bearer ${process.env.HDEV_API_KEY}` },
});
const { data, meta } = await res.json();

Python

import os
import requests

res = requests.delete("https://api.healthcare.dev/v1/webhooks/5f0c2a8e-6b1d-4f7e-9a51-2c3d4e5f6a7b", headers={"Authorization": f"Bearer {os.environ['HDEV_API_KEY']}"})
body = res.json()

Try it

DELETEhttps://api.healthcare.dev/v1/webhooks/5f0c2a8e-6b1d-4f7e-9a51-2c3d4e5f6a7b
Get a free key
Copy as curl
curl -X DELETE "https://api.healthcare.dev/v1/webhooks/5f0c2a8e-6b1d-4f7e-9a51-2c3d4e5f6a7b" \
  -H "Authorization: Bearer $HDEV_API_KEY"

Response

Deleted

{
  "data": {
    "id": "string",
    "deleted": true
  },
  "meta": {
    "source": "cms-icd10",
    "data_version": "2026.1",
    "retrieved_at": "2026-10-24T12:00:00Z",
    "license": "Public domain (CMS). Reference data, not medical advice."
  },
  "links": {
    "self": "/v1/webhooks/5f0c2a8e-6b1d-4f7e-9a51-2c3d4e5f6a7b",
    "next": null
  }
}

Fields

FieldTypeAlways presentDescription
idstringyes
deletedtrueyes

Errors

Errors are application/problem+json (RFC 9457). Branch on type, not on title. See Errors.

StatustypeWhen
400invalid-requestA parameter or the body failed validation; errors lists each field.
401unauthorizedMissing, malformed or revoked API key.
403plan-upgrade-requiredThe plan doesn't include this feature; required_plan names the plan that does.
404not-foundNo record with that id (retired records are still returned).
429rate-limited / quota-exceededToo many requests per second (retry after Retry-After), or the monthly quota is used up.

On this page