Hi Chalitha, You can remove an API with all its data using an API call. Please refer "Remove an API" section in [1]. It internally calls deleteAPI() in APIProviderImpl.java
Please check whether this can resolve your problem. [1] https://docs.wso2.com/display/AM180/Publisher+APIs Thank you. On Thu, Apr 16, 2015 at 7:08 PM, Chalitha Kulathunga <chalit...@wso2.com> wrote: > Hi all, > > I'm looking for a proper way(methods) to *delete an published API and all > its data* in WSO2 API Manager. > > The *deleteAPI* method available in *APIProviderImpl.java* class in > org.wso2.carbon.apimgt.impl package(bundle) is not public and also not > exported in the pom.xml. Therefore, it cannot be accessed from the outside. > > *APIMgtDAO.java* class in org.wso2.carbon.apimgt.impl.dao package also > provides a similar but public method however I'm not certain whether it is > suitable for my purpose. Could someone please recommend me a standard way > to delete an API. > > > Thanks & Regards > > -- > *Chalitha Sanyuja Kulathunga* > *Software Engineer* > WSO2 Inc.; http://wso2.com > email: chalit...@wso2.com cell: +94 77 5927581 <%2B94%2077%207779495> > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Best Regards, *Thilini Cooray* Software Engineer Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194> E-mail : thili...@wso2.com WSO2 Inc. www.wso2.com lean.enterprise.middleware
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev