rest destroy api should return model instead of status