# Source: https://upstash.com/docs/redis/sdks/ts/commands/functions/flush.md

> ## 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>