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

> Delete a library and all its functions.

## Arguments

<ParamField body="libraryName" type="string" required>
  The name of the library to delete.
</ParamField>

## Response

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

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


## Related topics

- [FUNCTION DELETE](/redis/commands/functions/function-delete.md)
- [Functions commands](/redis/commands/functions/overview.md)
- [Overview](/redis/sdks/ts/commands/overview.md)
- [Changelog](/redis/overall/changelog.md)
- [FUNCTION FLUSH](/redis/sdks/ts/commands/functions/flush.md)
