---
title: "delete · RUAL Documentation"
description: "Removes the specified key and their values."
canonical: https://docs.rual.nl/block-types/redis/function_redis_cache_delete_key
language: en
---

# delete

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

### 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 specified key and their values.

- flow `flow`

- success `v13.0.6` `condition`

| `redis delete` |
| --- |
| `delete` |

A typical wiring for [delete](https://docs.rual.nl/block-types/redis/function_redis_cache_delete_key): [get guid](https://docs.rual.nl/block-types/users/user_get_guid) feeds the `key` pin; the `flow` out pin feeds [broadcast](https://docs.rual.nl/block-types/broadcast/function_broadcast).

![Studio canvas example for the delete block: typical wiring for delete.](https://docs.rual.nl/canvas-examples/function_redis_cache_delete_key.png)

### Commonly used with

In production blueprints, this block is most often wired together with:

- [create](https://docs.rual.nl/block-types/globals/trigger_custom_function): feeds into this block. Creates a new function that can be executed using the given name.

- [get fields](https://docs.rual.nl/block-types/object/object_field_getter_multiple): feeds into this block. Gets the selected fields from the given object.

- [delete](https://docs.rual.nl/block-types/redis/function_redis_cache_delete_key): wired in both directions with this block. Removes the specified key and their values.

- [get guid](https://docs.rual.nl/block-types/users/user_get_guid): feeds into this block. Returns the guid (field: _meta.guid) of the given user.

- [branch](https://docs.rual.nl/block-types/flow/branch): feeds into this block.

- [broadcast](https://docs.rual.nl/block-types/broadcast/function_broadcast): this block feeds into it. Send a message across different sessions over a channel and event. These messages are on send and forget base and are not stored.

### Used in these guides

These documentation pages use or explain this block:

- [Common Blueprint Patterns](https://docs.rual.nl/blueprints/common-patterns)

- [Block Quick Reference](https://docs.rual.nl/reference/block-quick-reference)

### Version history

Introduced in [`v11.0.0`](https://docs.rual.nl/core-versions/110000).

Last modified in [`v13.0.6`](https://docs.rual.nl/core-versions/130006).

### Service documentation
