delete rest controller