removeGlobalData

View as MarkdownOpen in Claude

Remove one or more keys from the global session data.

Parameters

keys
string | string[]Required

A single key string or a list of key strings to remove from global data.

Returns

FunctionResultthis, for chaining.

Example

1import { FunctionResult } from '@signalwire/sdk';
2
3const result = new FunctionResult()
4 .removeGlobalData(['temp_key', 'old_data']);