Help topics

Move, restore and erase entries

Move entries to the bin to remove them from the list and the API. Restore them later, or erase them for good.

Before you start

  • You need a model with entries. Create entries with Create and edit entries.
  • You need delete permission on the model to move entries to the bin and to open the bin. Administrators have it. For other users, select the Delete check box for their role in the model's Access tab.
  • You need the administrator role to erase an entry forever.

Move entries to the bin

You can move one entry or several at once. The list shows 50 entries at a time. Select Load more to show the next 50.

To move several entries:

  1. Open the list of the model.
  2. Select the checkbox of each entry.
  3. Optional: Select the Select all checkbox in the header row to select every loaded entry.
  4. Select Delete in the bar that shows the count, for example 2 selected.
  5. In the Move 2 entries to the bin? dialog, select Move to bin. The dialog says you can restore them from the bin later.
  6. Morphic shows a message such as 2 moved to the bin.

To move one entry:

  1. Open the entry.
  2. Select More (⋮).
  3. Select Move to bin.
  4. In the Move "<title>" to the bin? dialog, select Move to bin. The dialog says its links are hidden too.

Moving an entry hides its links to other entries. Restoring the entry shows them again.

Open the bin

  1. Open the list of the model.
  2. Select the Bin tab.

The bin lists the entries you moved, with a Deleted column that shows when each one was moved. If the bin has no entries, Morphic shows The bin is empty and the text "Deleted entries appear here and can be restored."

Restore an entry

To restore several entries:

  1. Open the Bin tab.
  2. Select the checkbox of each entry.
  3. Select Restore in the bar.

Morphic shows a message such as 2 restored.

To restore one entry:

  1. Open the Bin tab.
  2. Open the entry.
  3. Select Restore.

A bin entry shows a callout that starts with This entry is in the bin since, followed by the date. Restore the entry before you edit it. When you restore an entry, its links come back too.

Erase an entry forever

Only administrators see Erase forever. You can erase one entry at a time, and only from the bin.

Warning: Erasing removes the entry and its links permanently. It cannot be undone. Restore the entry instead if you might need it again.

  1. Open the Bin tab.
  2. Open the entry.
  3. Select Erase forever.
  4. In the Erase "<title>" forever? dialog, select Erase.

Use the API

The API returns entries in the bin only when the request asks for them with bin=1 and the caller has delete permission. Without the parameter, the API does not return bin entries. A request for a bin entry without the permission fails with you may not see deleted <model>.

  • Move an entry: DELETE /items/<model>/<id>?rev=<rev>
  • Restore an entry: POST /items/<model>/<id>/restore with the current rev in the body
  • Erase an entry: DELETE /items/<model>/<id>?purge=1. Only administrators can erase.