Actions37
- Append
- Blocking Pop Left
- Blocking Pop Right
- Delete
- Eval
- Exists
- Expire At
- Get
- Get Set
- Hash Exists
- Hash Keys
- Hash Length
- Hash Values
- Increment
- Info
- JSON Get
- JSON Set
- Keys
- List Length
- Multi Get
- Multi Set
- Persist
- Pop
- Publish
- Push
- Scan
- Set
- Set Add
- Set Cardinality
- Set Is Member
- Set Remove
- Sorted Set Add
- Sorted Set Cardinality
- Sorted Set Range
- Sorted Set Remove
- String Length
- TTL
Set Remove
AI-generatedSummary
Remove one or more specified members from a Redis set.
Inputs
- Set (required) — Name of the Redis set from which members will be removed.
- Members (required) — Space-separated list of members to remove from the set.
Output shape
a list of JSON objects, each containing the set name, number of members removed, and the members attempted to be removed.
Each output item corresponds to an input item and includes keys: 'set', 'removed' (number of members actually removed), and 'members' (array of specified member strings). Errors are thrown unless 'Continue On Fail' is enabled, in which case error details are included in the output.
Examples
Example 1: Remove multiple members from a set named 'userRoles'
Set parameter: 'userRoles'; Members parameter: 'admin guest'