Daybook DocsDaybook Docs
Browse

Delete a webhook endpoint

DELETE/v1/webhook-endpoints/{id}

Remove an endpoint, so Daybook stops sending events to it.

Call this with AIA brief with this endpoint's request, response and auth, ready for a typed client in your language.

Path parameters

  • idstringrequired
Try itEdit the fields and copy the request. Nothing is sent from this page.
curl -X DELETE https://api.daybookhealthcare.com/v1/webhook-endpoints/whe_01JBXK4R7T2M9P5W3Y6A8C0D1E \
  -H "Authorization: Bearer $DAYBOOK_API_KEY"

Response

  • idstring
  • deletedboolean
curl -X DELETE https://api.daybookhealthcare.com/v1/webhook-endpoints/whe_01JBXK4R7T2M9P5W3Y6A8C0D1E \
  -H "Authorization: Bearer $DAYBOOK_API_KEY"
Response 200
{
  "id": "whe_01JBXK4R7T2M9P5W3Y6A8C0D1E",
  "object": "webhook_endpoint",
  "deleted": true
}