conAPI = APILocator.getContentletAPI();
ActionResponseImpl resImpl = (ActionResponseImpl) res;
// calls the Contentlet API delete the container version
try{
//conAPI.delete(webAsset, user, false, false);
conAPI.deleteVersion(webAsset,user,false);
}catch(Exception e){
resImpl.getHttpServletResponse().getWriter().println("FAILURE:" + LanguageUtil.get(user, "message.contentlet.delete.live_or_working"));
}