DaffodilAPI
Sandbox

Delete a webhook Destination

Deletes a webhook Destination. Deliveries still waiting to be retried are not sent. Sandbox only: exists on sandbox.api.getdaffodil.com and answers 404 not_found everywhere else.

DELETE
/v1/sandbox/webhook_destinations/{id}
AuthorizationBearer <token>

Your secret API key: dfl_live_… in production, dfl_test_… in the Sandbox.

In: header

Path Parameters

idstring
Match^wh_[0-9A-Za-z]{22}$

Header Parameters

idempotency-keystring

Required on every write. A unique value you generate per intended write, such as a UUID. A retry with the same key and the same body returns the original response; the same key with a different body returns 422 idempotency_key_reused. Keys are kept for 24 hours, per Account and environment.

Length1 <= length <= 255

Response Body

curl -X DELETE "https://sandbox.api.getdaffodil.com/v1/sandbox/webhook_destinations/wh_56TFFconQbqixIDRorZEa5" \  -H "idempotency-key: 8e03978e-40d5-43e8-bc93-6894a57f9324"
{
  "object": "webhook_destination",
  "id": "wh_56TFFconQbqixIDRorZEa5",
  "deleted": true
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "param": "string",
  "request_id": "string"
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "param": "string",
  "request_id": "string"
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "param": "string",
  "request_id": "string"
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "param": "string",
  "request_id": "string"
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "param": "string",
  "request_id": "string"
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "param": "string",
  "request_id": "string"
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "param": "string",
  "request_id": "string"
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "param": "string",
  "request_id": "string"
}