it2 session profile reset

Reset a session profile property to profile default

Synopsis

it2 session profile reset [<session-id>] <property>

Description

Reset a profile property to the underlying profile's default value.

This removes the per-session override, allowing the property to inherit
from the underlying profile template.

If no session-id is provided, uses $ITERM_SESSION_ID environment variable.

Common profile properties to reset:

  • Badge Text: Reset badge to profile default
  • Title: Reset title to profile default
  • Name: Reset name to profile default
  • Background Color: Reset to profile background color
  • Foreground Color: Reset to profile text color

Examples:
it2 session profile reset "Badge Text"
it2 session profile reset Title
it2 session profile reset sess_123 "Background Color"

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