Hi Uvindra,
Thanks for the information. I'm developing a tenant deletion tool which can
remove tenants internally without user authentication. As a part of that, I
have to delete all the APIs which belongs to a particular tenant.
Regards,
On Fri, Apr 17, 2015 at 4:54 PM, Uvindra Dias Jayasinha
Hi Thilini Harsha,
@Thilini - Remove an API needs the user to be authenticated. I'm looking
for a solution that doesn't require user authentication. The idea is to
delete APIs which belongs to a particular tenant from the out side, through
an existing or a modified method call.
@Harsha - sorry
Hi Thilini Harsha,
@Thilini - Remove an API needs the user to be authenticated. I'm looking
for a solution that doesn't require user authentication. The idea is to
delete APIs which belongs to a particular tenant from the out side, through
an existing or a modified method call.
@Harsha - sorry
Hi Chalitha,
You should be able to get the instance of the APIProvider as follow
apiProvider = APIManagerFactory.getInstance().getAPIProvider(loggedUser);
[1] -
Hi Chalitha,
Just a quick question. Are we going to allow deleting subscribed APIs as
well?
Regards,
On Fri, Apr 17, 2015 at 12:33 PM, Chalitha Kulathunga chalit...@wso2.com
wrote:
Hi Thilini Harsha,
@Thilini - Remove an API needs the user to be authenticated. I'm looking
for a solution
Hi Yvonne Harsha,
@Yvonne - yes, I'm going to delete subscribed APIs as well. If it can cause
any issues, please let me know.
@Harsha - I will try the suggested approach.
Thank you Regards,
Chalitha
On Fri, Apr 17, 2015 at 1:02 PM, Harsha Kumara hars...@wso2.com wrote:
Hi Chalitha,
You
Hi Chalitha,
You should first remove any existing subscriptions[1] before you delete a
given API.
What is your use case for deleting APIs without user authentication?
[1]
https://docs.wso2.com/display/AM180/Store+APIs#StoreAPIs-RemoveaSubscription
On 17 April 2015 at 14:45, Chalitha
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
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
Hi Chalitha,
Which version that you tried to use of apimgt.impl dependency? According to
[1] and [2], the impl package has exported. You won't be able to use the
APIMgtDAO, because deleting API involve deleting resources from registry as
well.
[1] -
10 matches
Mail list logo