implement nx.RestCollection.remove