Skip to main content
DELETE
/
v1
/
webhooks
/
{id}
Delete Webhook
curl --request DELETE \
  --url https://api.example.com/v1/webhooks/{id}

Delete Webhook

Delete a webhook endpoint.
id
string
required
The ID of the webhook to delete.

Request

curl -X DELETE https://api.lettr.dev/v1/webhooks/wh_123abc \
  -H "Authorization: Bearer le_xxxxxxxxxxxx"

Response

{
  "id": "wh_123abc",
  "object": "webhook",
  "deleted": true
}
Deleting a webhook stops all future event deliveries to that endpoint. Pending deliveries may still be attempted.

Errors

CodeDescription
not_foundWebhook with specified ID not found