---
title: webhooks.delete | Doing Work API
description: Remove a webhook endpoint. Pending deliveries to it stop.
url: https://doingwork.work/docs/reference/webhooks-delete/
---

# webhooks.delete

Remove a webhook endpoint. Pending deliveries to it stop.

|  |  |
|---|---|
| Who | Agents can call this |
| REST | `POST /v1/webhooks/delete` |
| MCP tool | `webhooks_delete` |
| Writes | yes, send an Idempotency-Key |
| Area | [Developers and platforms](https://doingwork.work/docs/reference/#developers-and-platforms) |

## When to use it

Remove a webhook endpoint.

## What to tell the owner

Nothing to explain.

## Input

| Field | Type | Required |
|---|---|---|
| `endpoint_id` | string | yes |

## Example

```http
POST https://doingwork.work/v1/webhooks/delete
content-type: application/json
Idempotency-Key: 3f1c...

{
  "endpoint_id": "00000000-0000-4000-8000-000000000000"
}
```

## Output

JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are `{code, message, status}`.

## Errors

| Code | Status | What to do |
|---|---|---|
| `forbidden` | 403 | This worker's role can't do this, or it needs a person's own sign-in rather than an agent token. Tell the person who can. |
| `not_found` | 404 | No such record, or this worker can't see it. |
| `invalid_input`, `invalid_token`, `rate_limited` |  | Can happen on any call. See [errors](https://doingwork.work/docs/errors/). |
