Delete a webhook endpoint
Deletes the endpoint and its delivery log. Pending retries are cancelled.
DELETE
https://fomodata.dev /v1 /webhooks /{id}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"idstringrequireddeletedenumrequiredtrue
200 · exampleJSON
{
"object": "webhook",
"id": "string",
"deleted": true
}Errors
| Status | When |
|---|---|
401 | Missing, invalid, revoked or expired API key |
403 | Insufficient scope, live access not approved, or history limit |
404 | Not found (or feature disabled) |
429 | Rate limit or quota exceeded |
All errors use the standard envelope. See error codes for every code value.