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
DestructivePermanently 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.
More SureForms abilities
Bulk Get Entry Details
Retrieve full submitted data for up to 50 SureForms entries in a single call.
Create SureForms Form
Create a new SureForms form from a title, an array of field definitions, and optional metadata.
Delete SureForms Form
Move a SureForms form to trash, or permanently delete it when force is set.
Duplicate SureForms Form
Clone an existing SureForms form, including its fields, metadata, and settings, as a new draft.
Get Entry Details
Retrieve the full submitted data for a single SureForms entry, with field labels resolved.
Get Form Analytics
Retrieve raw submission timestamps for a date range, optionally scoped to one form, capped at 10,000 results.