---
title: FLUSHALL
---


<Warning>
Deletes all keys permanently. Use with caution!
</Warning>
## Arguments

<ParamField body="async" type="boolean">
  Whether to perform the operation asynchronously. Pass the options wrapped in an array: `[{ async: true }]`.
  Defaults to synchronous.
</ParamField>



<RequestExample>
```ts Sync
await redis.flushall();
```
```ts Async
await redis.flushall([{ async: true }])
```
</RequestExample>
