rwx vaults tool-caches evict
Evict a tool cache from a vault.
Usage
rwx vaults tool-caches evict ID --vault <name-or-id> [flags]
Description
Invalidate a stored tool cache so the next successful task with write access can populate a fresh cache. The command asks for confirmation before evicting the cache. Pass --yes to skip the prompt.
Examples
Evict a cache from the production vault, using an ID from rwx vaults tool-caches list:
rwx vaults tool-caches evict <cache-id> --vault production
Arguments
ID (required)
The tool cache ID returned by rwx vaults tool-caches list. Pass the ID, not the cache name.
Options
--vault <name-or-id> (required)
The name or ID of the vault containing the tool cache.
-y, --yes
Skip the confirmation prompt.
Global options
--format <format>
Output format: text or json. Defaults to text.
--json
Output JSON data to stdout. Equivalent to --format json.
--access-token <token>
The access token for RWX. Defaults to the value of the $RWX_ACCESS_TOKEN environment variable.