CipherStash Documentation

Drop a Collection with Stash CLI

You can drop (delete) a collection in your workspace using the stash drop-collection command. In order to drop a collection, you must be logged in.


stash drop-collection <name>


The only argument is <name>, the name of the collection to drop. The collection must already exist with the given name within the workspace.


Drop the movies collection from the workspace:

$ stash drop-collection movies
The 'movies' collection has been removed from the workspace.

Exit Status

The exit status will be 0 if the collection was successfully dropped. An exit status of 1 indicates a failure to drop the collection, most likely because the credentials were invalid or the server was unavailable.

Whenever a non-zero exit status is returned, a helpful error message is printed to standard error.