> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.videogen.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.videogen.io/_mcp/server.

# Delete webhook

DELETE https://api.videogen.io/v1/webhooks/endpoints/{endpointId}

Remove a webhook endpoint. It will stop receiving events immediately.

Reference: https://docs.videogen.io/rest-api-reference/webhooks/delete-webhook-endpoint

## Authentication

- `Authorization` header (bearer token, required) — API key from [app.videogen.io/api](https://app.videogen.io/api). The full key is only shown once when you create it.

## Request

### Path parameters

- `endpointId` (string, required) — The webhook endpoint id (e.g. `ep_...`) returned by `POST /v1/webhooks/endpoints`.

## Response

### 204

Removed

## Examples

**SDK Code**

```typescript
import { VideoGen } from "@videogen/sdk";

const client = new VideoGen({ apiKey: "sk_videogen_live_..." });

await client.webhooks.deleteWebhookEndpoint({
  endpointId: "ep_28KVX7vT9mQ2sL4nR6pB1cD0fG",
});
```

```python
from videogen import VideoGen

client = VideoGen(api_key="sk_videogen_live_...")

client.webhooks.delete_webhook_endpoint(
    endpoint_id="ep_28KVX7vT9mQ2sL4nR6pB1cD0fG",
)
```