# Delete a webhook (QuantSet API)

> Delete an account webhook by ID. List webhooks after a timeout to reconcile the result.

> ## For AI agents
> The QuantSet API is at https://api.quantset.dev. Send the key in the `X-API-Key` header. The sandbox key `mw_demo` needs no signup and reads the sample listings.
> No key yet? An agent can open an account on its own: https://api.quantset.dev/skill.md
> Connect an MCP client to https://api.quantset.dev/mcp. Client setup is at https://api.quantset.dev/agents.md.
> Start with https://api.quantset.dev/llms.txt or read the full reference at https://api.quantset.dev/llms-full.txt. The OpenAPI file is https://api.quantset.dev/openapi.json. Add `.md` to any docs URL to get that page as Markdown.

`DELETE https://api.quantset.dev/api/v1/webhooks/{webhook_id}` · `delete_webhook`

Send a key in the `X-API-Key` header.
Returns JSON.
Price: Free. It uses no credits.

## Workflow examples

### How do I retire a specific webhook receiver?

```http
DELETE https://api.quantset.dev/api/v1/webhooks/YOUR_WEBHOOK_ID
```

List subscriptions, match the exact URL and events, then substitute its id for YOUR_WEBHOOK_ID. Verify the returned id and deleted flag.

## Reading the results

Deletion changes account state. If the response is lost, list the account’s subscriptions to check whether the receiver still exists.


## Coverage and limits

An unknown or inaccessible id can return 404. Removal applies to the selected subscription, not every receiver using the same URL.


## Related guides

- [Set up and test a webhook receiver](https://quantset.dev/docs/integrations/webhooks)

## Parameters

- `webhook_id` (string, required, in path)

## Response fields

- `deleted` (boolean)
- `id` (string)

## Example

```
curl -X DELETE 'https://api.quantset.dev/api/v1/webhooks/YOUR_WEBHOOK_ID' -H 'X-API-Key: YOUR_API_KEY'
```

## Responses

- 200 Successful Response
- 400 Supply one credential.
- 401 Supply a valid API key.
- 403 Your key does not have the required access.
- 404 The webhook is absent from this account.
- 422 Correct the named parameter and retry.
- 429 Wait for Retry-After seconds.
- 500 The request could not be completed.
- 503 Retry safe reads after a short delay.

## Questions

**Which access is required?** Use an account key entitled to webhooks.

**Can an AI agent use this?** Yes. An agent calls it over HTTP like any client. Add .md to this page's address for a version written for agents.

**What does null mean in the response?** The value could not be confirmed. It is never a zero, so treat it as missing in your own calculations.

Group: Account and integration
Docs page: https://quantset.dev/docs/api/webhooks-delete
Integrations & Ecosystem: https://quantset.dev/integrations (Claude/Cursor MCP, LangGraph, PydanticAI, CrewAI, Agno, Vercel AI SDK, Mastra, Sheets =QUANTSET(), Excel, Notion & x402)
Full API guide: https://api.quantset.dev/llms-full.txt
