Clear List
AI-generatedSummary
Deletes the entire Redis list at the specified key.
Inputs
- listId (required) — Redis key name for the list
- includeInputFields — Whether to copy all input data to the output. When enabled, each output item includes the original input data merged with the result.
Output shape
An array of items. Each item contains a result field set to the number of keys deleted by Redis DEL (1 if the key existed and was deleted, 0 otherwise). When includeInputFields is true, each output item also merges the original input data alongside result. Otherwise, each item contains only {result: <number>}.
The operation executes a Redis
DELcommand on the key specified bylistId. TTL settings are not applied for this operation (they are only active foraddandupdate).