> ## Documentation Index
> Fetch the complete documentation index at: https://upstash-context7-agent-09df3c1c-9c05-4093-9d6e-e4e2644ee98c-5.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)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.