Skip to content
masterclass Buddy

Redis · Command

ZREM

ZREM removes one or more members from a Redis sorted set. It returns the number of members that were actually removed.

Last updated

Since
1.2.0

Syntax

ZREM key member [member ...]

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • ZADD
  • ZCARD
  • ZRANGE
  • ZREMRANGEBYLEX
  • ZREMRANGEBYRANK
  • ZREMRANGEBYSCORE
  • ZSCORE

Source: ZREM | Docs. Checked 2026-11-03.