optimize delete projece api

Signed-off-by: miaojian <kitemao@gmail.com>