Skip to content
API reference · Webhooks

Delete a webhook endpoint

Deletes the endpoint and its delivery log. Pending retries are cancelled.

DELETEhttps://fomodata.dev/v1/webhooks/{id}
Scopes:webhooks:writeRate class:standardFlag:WEBHOOKS_ENABLED

Example request

curl -X DELETE 'https://fomodata.dev/v1/webhooks/wh_8Tq3NkVz1LmB5xRc7pYd2F' \
  -H "Authorization: Bearer $FOMODATA_API_KEY"

Parameters

Path parameters
idstringrequired
e.g. wh_8Tq3NkVz1LmB5xRc7pYd2F

Response

200 Deleted

application/jsonDeletedWebhook
  • objectenumrequired"webhook"
  • idstringrequired
  • deletedenumrequiredtrue
200 · example
{
  "object": "webhook",
  "id": "string",
  "deleted": true
}

Errors

StatusWhen
401Missing, invalid, revoked or expired API key
403Insufficient scope, live access not approved, or history limit
404Not found (or feature disabled)
429Rate limit or quota exceeded

All errors use the standard envelope. See error codes for every code value.