CLI
rm
storage rm <path>
Delete one remote object. The storage:// scheme is accepted but optional — rm is always remote, so bare keys work too:
storage rm photos/cat.jpg
storage rm storage://photos/cat.jpg
- is rejected — rm has no stdin/stdout role.
Flags
--adapter <name>(required, or setSTORAGE_ADAPTER).--fork <name>— scope the delete into a fork.--json/--no-json— force JSON or human output.
Why not --snapshot?
Snapshots are read-only — exit 1 with a clear message. Use --fork.