> ## Documentation Index
> Fetch the complete documentation index at: https://upstash.com/docs/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={"system"}
  await redis.functions.flush()
  ```
</RequestExample>


## Related topics

- [Changelog](/docs/redis/overall/changelog.md)
- [Overview](/docs/redis/sdks/ts/commands/overview.md)
- [SCRIPT FLUSH](/docs/redis/sdks/ts/commands/scripts/script_flush.md)
- [FLUSHALL](/docs/redis/sdks/ts/commands/server/flushall.md)
