it2 session variable clear

Clear a session variable

Synopsis

it2 session variable clear <session-id> <name>

Description

Clear (unset) a session variable.

This removes a user-defined variable. System variables cannot be cleared.

Examples:
it2 session variable clear $SESSION user.channels
it2 session variable clear sess_123 user.metadata

Options inherited from parent commands

--format (default "text")

Output format (text, json, yaml) - affects how command results are displayed

--timeout

Timeout for API operations - how long to wait for iTerm2 to respond

--url

WebSocket URL for iTerm2 API - typically ws://localhost:1912 for local iTerm2

See Also