delete by type id done in post