WP Webhooks / Docs / delete_snippet
AI Ability Pro since v1.3.0

delete_snippet

Delete a Code Glue snippet — Permanently delete a Code Glue snippet.

$

Permanently delete a Code Glue snippet. Requires confirmation. Webhooks referencing it fall back to no snippet. Registered as the WordPress Ability flowsystems-webhook-actions/delete_snippet, so external AI tools (Claude Code, Cursor) can call it over MCP or REST with a scoped API token.

/ Plan step shape

{ "ability": "delete_snippet", "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

NameInTypeReqDescription
idparamintegeryes

/ Examples

Plan step as the AI Builder proposes it

{
  "id": "step_1",
  "ability": "delete_snippet",
  "summary": "…",
  "input": {
    "id": 4
  }
}

/ Related

Ready

Your next automation is
one sentence away.

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