restful delete code