---
title: "Remove a webhook subscription"
method: DELETE
path: "/api/webhooks"
---

# Remove a webhook subscription

`DELETE /api/webhooks`

## Request

- Base URL: `https://techsnif.com`
- URL: `https://techsnif.com/api/webhooks`
- Auth: none declared

Deletes the subscription whose url and secret both match. The secret is the value returned once at registration.

## Request body

- object
  - `url` string, uri, required
  - `secret` string, required

## Response `200`

Subscription removed

- object
  - `ok` boolean

## Other responses

- `400`: Invalid request parameters
- `403`: Secret does not match
- `404`: Resource not found

---

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