Restore collections from the trash
zotero_restore_collectionRestore trashed Zotero collections using their keys. Undo non-permanent collection deletions, but note that permanently deleted collections cannot be recovered.
Instructions
Bring collections back out of Zotero's trash, undoing a non-permanent zotero_delete_collection. You must know the key: Zotero's local API cannot list trashed collections, so there is no way to discover them from here, the user can see them in the Zotero window's trash. A collection erased permanently cannot be restored at all.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | No | Group library ID. Omit for the personal library ("My Library"), which is what almost every request wants. Group IDs come from zotero_list_libraries. | |
| collectionKeys | Yes | Keys of the collections to restore, at most 50 per call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notFound | Yes | ||
| restored | Yes |