---
url: /process-functions/datasource-cacheremove.md
description: Removes a key from the server-wide in-memory cache.
---

# datasource.cacheRemove

Removes a key from the server-wide in-memory cache.

```js
datasource.cacheRemove(key)
```

## Parameters

| Parameter | Type | Description |
|---|---|---|
| `key` | `string` | The key. |

## Examples

```js
datasource.cacheRemove("apiToken");
```
