When a datum is deleted with the API, mark the document as deleted in the database rather than permanently deleting it