---
title: "delete_webhook — AI Ability"
description: "Delete a webhook — Permanently delete a webhook and its triggers / mapping."
url: "https://wpwebhooks.org/docs/ability-delete-webhook/"
---

[WP Webhooks](/) / [Docs](/docs/) / delete\_webhook

AI Ability since v2.0.0

# delete\_webhook

Delete a webhook — Permanently delete a webhook and its triggers / mapping.

Permanently delete a webhook and its triggers / mapping. Requires confirmation. Registered as the WordPress Ability `flowsystems-webhook-actions/delete_webhook`, so external AI tools (Claude Code, Cursor) can call it over MCP or REST with a scoped API token.

/ Plan step shape

```
{ "ability": "delete_webhook", "input": { "id": … } }
```

/ Scope & confirmation

Minimum API-token scope for external (MCP/REST) callers: `full`. This step always pauses for explicit user confirmation before it runs.

/ Input fields

| Name | In | Type | Req | Description |
| --- | --- | --- | --- | --- |
| id | param | integer | yes |  |

/ Examples

Plan step as the AI Builder proposes it

```
{
  "id": "step_1",
  "ability": "delete_webhook",
  "summary": "…",
  "input": {
    "id": 12
  }
}
```

/ Related

[enable\_webhook](/docs/ability-enable-webhook/)[REST API reference](/webhook-wordpress-plugin-api/)

/Ready

## Your next automation is  
one sentence away.

[Install Plugin→](https://wordpress.org/plugins/flowsystems-webhook-actions/) [See the Plugin →](/wordpress-webhook-plugin/)

$ wp plugin install flowsystems-webhook-actions --activate

## Structured data

```json
{"@context":"https://schema.org","@type":"TechArticle","name":"delete_webhook — AI Ability — Webhook Actions Docs","description":"Delete a webhook — Permanently delete a webhook and its triggers / mapping.","url":"https://wpwebhooks.org/docs/ability-delete-webhook/","isPartOf":{"@type":"WebSite","name":"WP Webhooks","url":"https://wpwebhooks.org"},"about":{"@type":"SoftwareApplication","name":"Webhook Actions","applicationCategory":"WordPress Plugin"}}
```
