Delete Entry is a WordPress ability from SureForms — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Delete Entry

Destructive
SureForms Forms sureforms/delete-entry

Permanently delete one or more SureForms submission entries.

Requires the SureForms plugin on WordPress 6.9+ (the Abilities API is gated behind function_exists('wp_register_ability'), so it degrades gracefully on WP 6.4-6.8). Abilities only register when the 'srfm_abilities_api' option is enabled in SureForms' AI settings, and every ability requires the current user to have the 'manage_options' capability. Abilities that create or modify data additionally require the 'srfm_abilities_api_edit' option to not be explicitly disabled; abilities that permanently delete data additionally require 'srfm_abilities_api_delete' to not be explicitly disabled.

What it does

This ability permanently removes up to 50 entries at once via the plugin's Entries::delete_entries() handler — there is no trash intermediate step here, unlike update-entry-status. Its MCP annotations mark it destructive and non-idempotent, with explicit instructions to always confirm with the user before deleting since the action cannot be undone. It's intended for cleaning up spam or test submissions in bulk once an AI assistant (or the user) has identified them via list-entries or bulk-get-entries.

See it in action

You ask your AI assistant

"Permanently delete entries 200 through 205, they're all spam."

Inputs

Name Type Required Description
entry_ids array Yes Array of entry IDs to permanently delete (max 50).

Returns

An object with a success boolean, a deleted count, and an errors array of any per-entry failure messages.

Permission

Requires the 'manage_options' capability, the 'srfm_abilities_api' master option enabled, and the 'srfm_abilities_api_delete' gate option must not be explicitly disabled.

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.