> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cognigy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# deleteContext

## Syntax

`deleteContext(key)`

## Description

Removes a value from the Context object.

**Parameters:**

* `key`: `string` — the key in the context where the value should be removed.

**Returns:** `void`

## Example

```js theme={null}
// Example usage
deleteContext("user.location");
```
