---
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}`

## Request

- Base URL: `https://api.telnyx.com/v2`
- URL: `https://api.telnyx.com/v2/email_domains/{domain_id}/webhooks/{id}`
- Auth: HTTP bearer

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
    - `id` string, uuid, required
    - `record_type` 'email_webhook', required
    - `url` string, uri, required: HTTPS endpoint to deliver subscribed events to.
    - `events` EmailWebhookEvent[], required: Allowlist of event types delivered to this webhook. At least one event is required — there is no default-to-all.
    - `domain_id` string, uuid, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required

## Other responses

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

## Changes

- **2026-10-15** `a72569d69430`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/team-telnyx/apis/telnyx-api/changes/email_domains/:domain_id/webhooks/:id/delete.md)

---

[API](https://skmtc.dev/team-telnyx/apis/telnyx-api.md) - [All operations](https://skmtc.dev/team-telnyx/apis/telnyx-api/llms.txt) - [OpenAPI document](https://skmtc.dev/team-telnyx/apis/telnyx-api/revisions/0f17b8167873?raw)
