> For the complete documentation index, see [llms.txt](https://trillo.gitbook.io/trillo-workbench-python-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trillo.gitbook.io/trillo-workbench-python-sdk/memory-cache/delete-apis.md).

# Delete APIs

## remove

Removes from the cache​ by providing the key.

```
CacheApi.remove(cacheName, key) 
```

**Parameters**

```
cacheName: name of the cache
key:       name of the identifier
```

**Returns**

```
 result object
```

## removeNoLock

Removes from the cache without locking it. The key is provided as an argument​

```
Cache.removeNoLock(cacheName, key)
```

**Parameters**

```
cacheName: name of the cache
key:       the identifier
```

**Returns**

```
A Result object indicating the success or failure of the operation.
```

## clear

Clear all entries from the cache.

```
CacheApi.clear(cacheName)
```

**Parameters**

```
cacheName
```

**Returns**

```
A Result object indicating the success or failure of the operation.
```
