---
title: "Delete a webhook endpoint"
method: DELETE
path: "/webhook_endpoints/{lago_id}"
tags: ["webhook_endpoints"]
---

# Delete a webhook endpoint

`DELETE /webhook_endpoints/{lago_id}`

## Request

- Base URL: `https://api.getlago.com/api/v1`
- URL: `https://api.getlago.com/api/v1/webhook_endpoints/{lago_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/getlago/apis/lago-api-documentation/docs/webhook_endpoints/:lago_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint is used to delete an existing webhook endpoint.

## Response `200`

Webhook endpoint deleted

- WebhookEndpoint
  - `webhook_endpoint` WebhookEndpointObject, required
    - `lago_id` string, uuid, required: Unique identifier assigned to the webhook endpoint within the Lago application. This ID is exclusively created by Lago and serves as a unique identifier for the webhook endpoint's record within the Lago system.
    - `lago_organization_id` string, uuid, required: Unique identifier assigned to the organization attached to the webhook endpoint within the Lago application. This ID is exclusively created by Lago and serves as a unique identifier for the organization's record within the Lago system.
    - `webhook_url` string, required: The URL of the webhook endpoint.
    - `signature_algo` 'jwt' | 'hmac', required: The algorithm used to sign the webhook payload.
    - `name` string, nullable, required: The name of the webhook endpoint.
    - `event_types` string[], nullable, required: The list of event types sent to this webhook endpoint. When the value is `null`, every event type is sent. When the value is an empty array, no event is sent.
    - `created_at` string, date-time, required: The date of the webhook endpoint creation, represented in ISO 8601 datetime format and expressed in Coordinated Universal Time (UTC).

## Other responses

- `401`: Unauthorized error
- `404`: Not Found error

## Changes

- **2026-11-03** `5d26657495a3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/getlago/apis/lago-api-documentation/changes/webhook_endpoints/:lago_id/delete.md)

---

[API](https://skmtc.dev/getlago/apis/lago-api-documentation.md) - [All operations](https://skmtc.dev/getlago/apis/lago-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/getlago/apis/lago-api-documentation/revisions/b216574b9612?raw)
