---
title: "Delete a webhook"
method: DELETE
path: "/api/orgs/{slug}/webhooks/{id}"
tags: ["Webhooks"]
---

# Delete a webhook

`DELETE /api/orgs/{slug}/webhooks/{id}`

## Request

- Base URL: `https://trydock.ai`
- URL: `https://trydock.ai/api/orgs/{slug}/webhooks/{id}`
- Auth: HTTP bearer

Removes the subscription. In-flight deliveries are cancelled.

## Path parameters

- `slug` string, required
- `id` string, required

## Response `200`

Deleted.

- object
  - `deleted` true, required

## Other responses

- `404`: Not found.

---

[API](https://skmtc.dev/trydock/apis/dock-rest-api.md) - [All operations](https://skmtc.dev/trydock/apis/dock-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trydock/apis/dock-rest-api/revisions/dd96ae96a412?raw)
