Delete Collection
delete_collectionPermanently delete a Bruno collection from disk, removing its directory and workspace registry entry. Requires confirmation; only valid collection roots qualify. To keep files, unregister instead.
Instructions
Permanently delete a Bruno collection: the collection directory and everything inside it is removed from disk, and its workspace registry entry is removed with it. Nothing here can be recovered through this server. Only a directory that is itself a collection root — one holding opencollection.yml or bruno.json — can be deleted, so this cannot be pointed at an arbitrary directory. To keep the files and only stop the collection being listed, use unregister_collection instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true. Explicit acknowledgement that the directory and every request in it are deleted permanently. | |
| workspacePath | No | Absolute path of the workspace.yml holding its entry. Defaults to the same one list_collections reads: BRUNO_WORKSPACE_PATH, or the Bruno app's workspace for this platform. | |
| collectionPath | Yes | Absolute path of the collection directory to delete. Use the path from list_collections. |