delete rest api done