---
title: "zremrangebyscore · RUAL Documentation"
description: "Removes the members whose score lies between min and max. A RUAL redis block in the redis sorted sets group. See its pins and version history."
canonical: https://docs.rual.nl/block-types/redis/redis_zremrangebyscore
language: en
---

# zremrangebyscore

This block is part of the [`redis`](https://docs.rual.nl/block-types/redis) group and was last modified in core [`v15.0.2`](https://docs.rual.nl/core-versions/150002).

## Redis Key Selection Required

This block relies on a Redis key to perform its redis releated actions. You must manually select the Redis key you want to use in the flow in the blueprint using the Redis key selector modal. To access the modal, click the white button on the block.

Removes the members whose score lies between min and max.

- flow

- set `value` required key of the sorted set

- min `value`

- max `value`

- flow

- removed `number`

- success `condition`

- error `value`

- key `value`

Bounds as in redis_zrangebyscore; removed is how many went. A bound that is not a number or a Redis bound string removes nothing: success is false and error is INVALID_BOUND. A bound that is not wired is the open end.

| `redis zremrangebyscore` |
| --- |
| `zremrangebyscore` |

## Version history

Introduced in [`v15.0.2`](https://docs.rual.nl/core-versions/150002).

- [`v15.0.2`](https://docs.rual.nl/core-versions/150002): block added in this release.

## Service documentation

- [External API reference](https://redis.io/commands/zremrangebyscore/): This block wraps a third-party service. Click here for the service's own documentation of the underlying endpoint.

- [Back to `redis`](https://docs.rual.nl/block-types/redis): Return to the main group to view all sub-groups

- [Back to `redis sorted sets`](https://docs.rual.nl/block-types/redis?group=redis%20sorted%20sets): Return to the group to view all blocks within this group
