deleteContext - Cognigy Documentation
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
// Example usage
deleteContext("user.location");
Last modified on April 21, 2026