> ## Documentation Index
> Fetch the complete documentation index at: https://upstash-dx-3081-agentkit-tanstack-ai-backends.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# FUNCTION FLUSH

> Delete all the libraries and functions.

## Response

<ResponseField type="string" required>
  "OK"
</ResponseField>

<RequestExample>
  ```ts Example theme={null}
  await redis.functions.flush()
  ```
</RequestExample>


## Related topics

- [FUNCTION FLUSH](/redis/commands/functions/function-flush.md)
- [Changelog](/redis/overall/changelog.md)
- [SCRIPT FLUSH](/redis/commands/scripting/script-flush.md)
