---
title: "Delete a webhook"
method: DELETE
path: "/email_domains/{domain_id}/webhooks/{id}"
tags: ["Email Webhooks"]
---

# Delete a webhook

`DELETE /email_domains/{domain_id}/webhooks/{id}`

Deletes the webhook subscription identified by ID within the specified email domain and returns the deleted subscription.

## Path parameters

- `domain_id` string, uuid, required
- `id` string, uuid, required

## Response `200`

Email webhook deleted

- EmailWebhookResponse
  - `data` EmailWebhook, required
    - `created_at` string, date-time, required
    - `domain_id` string, uuid, required
    - `events` EmailWebhookEvent[], required — Allowlist of event types delivered to this webhook. At least one event is required — there is no default-to-all.
    - `id` string, uuid, required
    - `record_type` 'email_webhook', required
    - `updated_at` string, date-time, required
    - `url` string, uri, required — HTTPS endpoint to deliver subscribed events to.

## Other responses

- `404` — Resource not found
- `500` — Internal server error

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api-2/revisions/ec31f78cf002/schema)
