content/commands/function-flush.md
Deletes all the libraries.
Unless called with the optional mode argument, the lazyfree-lazy-user-flush configuration directive sets the effective behavior. Valid modes are:
ASYNC: Asynchronously flush the libraries.SYNC: Synchronously flush the libraries.For more information please refer to [Introduction to Redis Functions]({{< relref "/develop/programmability/functions-intro" >}}).
| Redis Software | Redis Cloud | <span style="min-width: 9em; display: table-cell">Notes</span> | |:----------------------|:-----------------|:------| | <span title="Supported">✅ Standard</span> <span title="Supported"><nobr>✅ Active-Active</nobr></span> | <span title="Supported">✅ Standard</span> <span title="Supported"><nobr>✅ Active-Active</nobr></span> | |
{{< multitabs id="function-flush-return-info" tab1="RESP2" tab2="RESP3" >}}
Simple string reply: OK.
-tab-sep-
Simple string reply: OK.
{{< /multitabs >}}