removeMetadata

View as MarkdownOpen in Claude

Remove one or more keys from the current function’s metadata store. Maps to the unset_meta_data SWML action.

Parameters

keys
string | string[]Required

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

Returns

FunctionResultthis, for chaining.

Example

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