---
title: "Delete a webhook endpoint"
description: "DELETE https://api.markitdown.ai/v1/webhooks/{id} — Delete a webhook endpoint. Authenticate with x-api-key."
url: https://markitdown.ai/docs/api/delete-webhook
updated: 2026-09-26
source: markitdown.ai
---

# Delete a webhook endpoint

> DELETE https://api.markitdown.ai/v1/webhooks/{id} — Delete a webhook endpoint. Authenticate with x-api-key.

## Endpoint

**DELETE** `/v1/webhooks/{id}` — Delete a webhook endpoint

`deleteWebhook` is part of the Webhooks resource of the markitdown.ai API v1. Send an API key in the `x-api-key` header (or `Authorization: Bearer mdai_…`); all bodies are `application/json` unless a response lists another media type.

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | path · string | yes |  |

## Example request

**curl**

```bash
curl -X DELETE https://api.markitdown.ai/v1/webhooks/00000000-0000-4000-8000-000000000003 \
  -H "x-api-key: $MARKITDOWN_API_KEY"
```

## Responses

- `200` Deleted.
- `404` Not found (`application/problem+json`) — `Problem`

## Errors

- [Error codes](/docs/errors) — every `error` code with its status, meaning and whether to retry

## Related

- [API reference](https://markitdown.ai/docs/api)
- [Error codes](https://markitdown.ai/docs/errors)
- [Introduction](https://markitdown.ai/docs)
- [Document Conversion APIs](https://markitdown.ai/developers)
