---
title: "Delete a webhook"
method: DELETE
path: "/v1/webhooks/{webhookId}"
tags: ["Webhooks"]
---

# Delete a webhook

`DELETE /v1/webhooks/{webhookId}`

## Request

- Base URL: `https://api.postzen.dev`
- URL: `https://api.postzen.dev/v1/webhooks/{webhookId}`
- Auth: HTTP bearer

Deletes an endpoint and stops new event fan-out. Retained delivery logs remain available until their retention period ends.

## Response `200`

Webhook deleted.

- MessageResponse
  - `message` string, required

## Other responses

- `401`: Missing or invalid API key.
- `403`: The API key does not have sufficient permission or profile access.
- `404`: Resource not found.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/postzen/apis/postzen-public-api.md) · [All operations](https://skmtc.dev/postzen/apis/postzen-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/postzen/apis/postzen-public-api/revisions/40863e3710ec?raw)
