On Thu, Feb 26, 2015 at 4:17 PM, Prabath Siriwardena <[email protected]>
wrote:

> Yes.. but blocking wont allow you to delete it..
>

Yes. Currently  no clean approach to delete it.

But this is a workaround:

1. Change the LC sate to BLOCKED .
2. Logged  in to the Carbon Admin UI
3. Home -> Metadata -> List -> APIs and delete that API, then API
will disappear from publisher.

Only problem is publisher doesn't allow  you again to create API with same
name and context.  Because when you delete the API from Admin UI, it only
delete the API from registry database and AM database still remain the AM
metadata(name, context ...etc).

-Ajith


>
> Thanks & regards,
> -Prabath
>
>
> On Thu, Feb 26, 2015 at 1:15 PM, Ajith Vitharana <[email protected]> wrote:
>
>>
>>
>> On Thu, Feb 26, 2015 at 4:04 PM, Prabath Siriwardena <[email protected]>
>> wrote:
>>
>>> Thanks..! But who has to remove the subscriptions...? Is it the one who
>>> subscribed..?
>>>
>>
>>  Currently yes. But I understand that ,  it is not possible when we have
>> lots of user subscriptions.
>>
>>
>>> I think there needs to be a way to remove an API by the API Publisher...
>>>
>>
>> So, without deleting the the API we can make the LC state to BLOCKED in
>> publisher.
>>
>> -Ajith
>>
>>
>>>
>>> Thanks & regards,
>>> -Prabath
>>>
>>> On Thu, Feb 26, 2015 at 1:00 PM, Ajith Vitharana <[email protected]>
>>> wrote:
>>>
>>>>
>>>> Hi Prabath,
>>>>
>>>> AFAIK, It can't do from publisher, first we need to remove the
>>>> subscription from store , then delete from publisher.
>>>>
>>>> -Ajith
>>>>
>>>> On Thu, Feb 26, 2015 at 3:55 PM, Prabath Siriwardena <[email protected]>
>>>> wrote:
>>>>
>>>>> $subject...
>>>>>
>>>>>
>>>>> Thanks & Regards,
>>>>> Prabath
>>>>>
>>>>> Twitter : @prabath
>>>>> LinkedIn : http://www.linkedin.com/in/prabathsiriwardena
>>>>>
>>>>> Mobile : +1 650 625 7950
>>>>>
>>>>> http://blog.facilelogin.com
>>>>> http://blog.api-security.org
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Ajith Vitharana.
>>>> WSO2 Inc. - http://wso2.org
>>>> Email  :  [email protected]
>>>> Mobile : +1-812-360-5335
>>>>
>>>>
>>>
>>>
>>> --
>>> Thanks & Regards,
>>> Prabath
>>>
>>> Twitter : @prabath
>>> LinkedIn : http://www.linkedin.com/in/prabathsiriwardena
>>>
>>> Mobile : +1 650 625 7950
>>>
>>> http://blog.facilelogin.com
>>> http://blog.api-security.org
>>>
>>
>>
>>
>> --
>> Ajith Vitharana.
>> WSO2 Inc. - http://wso2.org
>> Email  :  [email protected]
>> Mobile : +1-812-360-5335
>>
>>
>
>
> --
> Thanks & Regards,
> Prabath
>
> Twitter : @prabath
> LinkedIn : http://www.linkedin.com/in/prabathsiriwardena
>
> Mobile : +1 650 625 7950
>
> http://blog.facilelogin.com
> http://blog.api-security.org
>



-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  [email protected]
Mobile : +1-812-360-5335
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to