> ## Documentation Index
> Fetch the complete documentation index at: https://docsrewrite.vercel.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Webhook

> Remove a webhook endpoint

Deletes a webhook endpoint. After deletion, Flux will no longer send events to this URL.

<ParamField path="id" type="string" required>
  The webhook ID (e.g., `wh_abc123`)
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE https://api.flux.dev/v1/webhooks/wh_abc123 \
    -H "Authorization: Bearer sk_live_..."
  ```

  ```typescript Node.js theme={null}
  await flux.webhooks.delete('wh_abc123');
  ```

  ```python Python theme={null}
  flux.webhooks.delete("wh_abc123")
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": "wh_abc123",
    "deleted": true
  }
  ```

  ```json 404 theme={null}
  {
    "error": {
      "code": "not_found",
      "message": "Webhook not found"
    }
  }
  ```
</ResponseExample>
