Re: [Dev] [APIM 500] How API publisher can delete a API which has subscriptions

2016-07-07 Thread Asanka Vithanage
Hi Thilini/Abimaran, I got the rational behind the design. Thank you very much for the explanations. On Thu, Jul 7, 2016 at 5:45 PM, Abimaran Kugathasan wrote: > > > On Thu, Jul 7, 2016 at 5:02 PM, Asanka Vithanage wrote: > >> Hi All, >> >> Thanks for all

Re: [Dev] [APIM 500] How API publisher can delete a API which has subscriptions

2016-07-07 Thread Abimaran Kugathasan
On Thu, Jul 7, 2016 at 5:02 PM, Asanka Vithanage wrote: > Hi All, > > Thanks for all the replies. > > @Roshan > > We can't remove subscriptions by going to the Application, Application > only lists logged in users subscriptions. > > @Lakshman/Bhathiya/Chamin > > Yes, I

Re: [Dev] [APIM 500] How API publisher can delete a API which has subscriptions

2016-07-07 Thread Thilini Cooray
Hi, AFAIU the proper way of deleting an API is first removing from the store (avoiding creating further subscriptions) by changing its lifecycle status to "Deprecated" as mentioned by Chamin and then removing the API from the Gateway by retiring it (avoiding further invocations). Otherwise

Re: [Dev] [APIM 500] How API publisher can delete a API which has subscriptions

2016-07-07 Thread Asanka Vithanage
Hi All, Thanks for all the replies. @Roshan We can't remove subscriptions by going to the Application, Application only lists logged in users subscriptions. @Lakshman/Bhathiya/Chamin Yes, I understand we can achieve delete API following these steps. But those are actually workarounds. Why

Re: [Dev] [APIM 500] How API publisher can delete a API which has subscriptions

2016-07-07 Thread Chamin Dias
Hi, Change the lifecycle to "Block" Then existing users (already who subscribed) cannot use the API, also new users are not able to subscribe to the blocked API. In this state also, you are not allowed to delete the API form the API publisher since there is a subscriber. If you want to delete

Re: [Dev] [APIM 500] How API publisher can delete a API which has subscriptions

2016-07-07 Thread Bhathiya Jayasekara
On Thu, Jul 7, 2016 at 3:43 PM, Asanka Vithanage wrote: > Hi All, > > Using API Publisher and Store, I am trying to achieve the $Subject. But it > seems via current store and publisher UIs, we can't do that. > > Let's think we create two users called userPub and userSub with

Re: [Dev] [APIM 500] How API publisher can delete a API which has subscriptions

2016-07-07 Thread Roshan Wijesena
Go to Application section and then subscription tab then unsubscribe. On Thu, Jul 7, 2016 at 3:58 PM, Lakshman Udayakantha wrote: > Hi Asanka, > > AFAIR we can't delete an API which has subscriptions rather you can block > the API using API publisher. > > Thanks > > On Thu,

Re: [Dev] [APIM 500] How API publisher can delete a API which has subscriptions

2016-07-07 Thread Lakshman Udayakantha
Hi Asanka, AFAIR we can't delete an API which has subscriptions rather you can block the API using API publisher. Thanks On Thu, Jul 7, 2016 at 3:45 PM, Asanka Vithanage wrote: > Hi, > > Sorry. Topic should be changed as [APIM 200] How API publisher can delete > a API which

Re: [Dev] [APIM 500] How API publisher can delete a API which has subscriptions

2016-07-07 Thread Asanka Vithanage
Hi, Sorry. Topic should be changed as [APIM 200] How API publisher can delete a API which has subscriptions On Thu, Jul 7, 2016 at 3:43 PM, Asanka Vithanage wrote: > Hi All, > > Using API Publisher and Store, I am trying to achieve the $Subject. But it > seems via current

[Dev] [APIM 500] How API publisher can delete a API which has subscriptions

2016-07-07 Thread Asanka Vithanage
Hi All, Using API Publisher and Store, I am trying to achieve the $Subject. But it seems via current store and publisher UIs, we can't do that. Let's think we create two users called userPub and userSub with only login and Manage permissions. Then "userPub" login to the API Publisher and