Trash & Recovery
Rostyman uses soft delete for all items. Nothing is permanently removed until you explicitly empty the trash.
How Soft Delete Works
When you delete a collection, folder, request, or environment, it is moved to the Trash instead of being permanently removed. The item's deleted_at timestamp is set, and it stops appearing in the sidebar and other views.
Soft-deleted items:
- Do not appear in the sidebar, search results, or collection runner
- Do not execute in workflows or scheduled jobs
- Can be restored at any time
- Are permanently removed only when you choose to delete them from Trash
Trash Tab
Click the Trash icon in the sidebar to open the Trash tab. The badge on the icon shows the number of items currently in the trash.
The Trash tab displays all deleted items in a list with:
| Column | Description |
|---|---|
| Name | Item name |
| Type | Collection, folder, request, environment, workflow, scheduled job, mock server, or share source |
| Deleted at | When the item was deleted |
| Original location | The collection/folder it belonged to |
Restoring Items
Single Item
Click the Restore button on any item to move it back to its original location. If the parent collection or folder was also deleted, restore the parent first.
Bulk Restore
- Select multiple items using the checkboxes
- Click Restore Selected
All selected items are restored to their original locations.
Permanent Deletion
Single Item
Click the Delete Permanently button on any item. This removes it from the database entirely and cannot be undone.
Empty Trash
Click Empty Trash to permanently delete all items in the trash at once. A confirmation dialog appears before proceeding.
Sidebar Badge
The Trash icon in the sidebar displays a count badge showing how many items are in the trash. The badge updates in real-time as items are deleted or restored.
Tips
- Deleting a collection moves all its folders, requests, and environments to trash
- Removing a cloud share source moves it to trash (can be restored to re-link the share)
- Restore items promptly if you delete by accident — there is no expiration, but emptying trash is irreversible
- The trash badge includes all entity types: collections, folders, requests, environments, workflows, scheduled jobs, mock servers, and share sources