Revert "update for deleteAPI"

This reverts commit 799bbbc89bc2f42480fc294355cbfc6423588364.