it2 artifact delete
Delete an artifact
Synopsis
it2 artifact delete <session-id> <artifact-path> [flags]
Description
Delete an artifact and remove it from the index.
Examples:
Delete specific artifact
$ it2 artifact delete sess_abc123 buffer-snapshot/2025-10-10T14-30-00Z.txt
Delete all artifacts in a category
$ it2 artifact delete sess_abc123 buffer-snapshot --all
Options
-
--all - Delete all artifacts in category
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
- it2 artifact - Manage session artifacts and attachments