---
title: "Delete a webhook"
method: DELETE
path: "/v1/webhooks/{id}"
tags: ["Webhook management"]
---

# Delete a webhook

`DELETE /v1/webhooks/{id}`

## Request

- Base URL: `https://api.vatnode.dev`
- URL: `https://api.vatnode.dev/v1/webhooks/{id}`
- Auth: one of:
  - API key in cookie `better-auth.session_token`
  - HTTP bearer

Soft-deletes (deactivates) a webhook endpoint. The row is retained for
delivery history but stops counting against the plan’s webhook limit,
so the slot is free immediately.

## Path parameters

- `id` string, required

## Response `200`

The webhook was deleted.

- SuccessResponse
  - `success` boolean, required
  - `message` string

## Other responses

- `401`: No valid session (`UNAUTHORIZED`), or the account has been deleted (`ACCOUNT_DELETED`).
- `404`: The addressed resource does not exist, or is not owned by the authenticated caller. Returns the standard error envelope with code `NOT_FOUND`. Ownership and existence are deliberately not distinguished, so a resource belonging to another account is reported as missing rather than forbidden.
- `500`: An unexpected server error occurred. Returns the standard error envelope with code `INTERNAL_ERROR` and a `requestId` for support correlation. The failing request had no side effects the caller can rely on; retry is safe for idempotent operations.
- `503`: The database is temporarily unavailable (`DB_UNAVAILABLE`).

---

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