Delete Elements
AI-generatedSummary
Removes all elements from a Redis list that match a given JSON/YAML object (subset match).
Inputs
- listId (required) — Redis key name for the list
- value (required) — JSON or YAML object specifying the fields to match. A list element is removed if it contains all of these fields.
- includeInputFields — When enabled, the original input data is passed through and the delete count is added under a 'result' field.
Output shape
object
Always contains a 'result' field with the number of removed elements. If 'Include Other Input Fields' is enabled, the original input properties are also present, with the result under 'result'.
Examples
Example 1: Remove all list items that have field 'status' equal to 'archived'
listId: 'my:list', value: '{ status: archived }', includeInputFields: false