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

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