## MemoryStorage.removeItem() method

Removes the key/value pair with the given key, if a key/value pair with the given key exists.

**Signature:**

```typescript
removeItem(key: string): void;
```

## Parameters

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

**Returns:**

void

- [MemoryStorage.removeItem() method](/content/docs/sdk/core.memorystorage.removeitem#memorystorageremoveitem-method/index.html)
- [Parameters](/content/docs/sdk/core.memorystorage.removeitem#parameters/index.html)
