---
title: "Delete webhook"
method: POST
path: "/bus/webhook/delete"
tags: ["bus"]
---

# Delete webhook

`POST /bus/webhook/delete`

Deletes a registered webhook.

## Request body

- Webhook
  - `module` 'alerts' — The module this webhook belongs to
  - `event` 'dismiss' | 'register' — The event type this webhook listens for
  - `url` string — The URL to send webhook events to
  - `headers` object — Custom headers to include in webhook requests

## Response `200`

Successfully deleted webhook

## Other responses

- `404` — Webhook not found
- `500` — Internal server error

## Changes

- **2024-12-18** `922f156353c9` — 1 breaking, 1 info
  - removed the media type `text/plain` for the response with the status `500`
  - api tag `bus` added
- **2024-12-17** `82af1ae6c6d8` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/siafoundation/apis/renterd-api/changes/bus/webhook/delete/post.md)

---

[API](https://skmtc.dev/siafoundation/apis/renterd-api.md) · [All operations](https://skmtc.dev/siafoundation/apis/renterd-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/siafoundation/renterd-api/revisions/5d06f620dc2b/schema)
