That seems like the client dictating the API design to me.  If you wanted to support the above use case you simply save the object's name before calling delete and display it afterwards.