Purpose

Deletes an entry. Two-phase: the first call (without confirmed) returns the confirmation dialog; the confirmed call performs the delete and refreshes the owning DataTable.

Payload

  • id — entry id to delete
  • entity — entity id
  • datatable_identifier — DataTable to refresh afterwards
  • confirmed — set on the second call after the user confirmed
  • is_subtable, parent_datatable_identifier, parent_entity_id, parent_id — subtable context

Response

CALLBACK_TYPE_SCRIPT (confirmation dialog or table refresh), CALLBACK_TYPE_MESSAGE on errors. If no valid entry id can be resolved, the message can be customised via wr_form_entry_missing_entry_id_message.

Notes

Internal action — triggered by WR’s own frontend JS. The payload shape is not a public API and can change between releases.