I am trying to remove some of the sample apiproxy from github that I added, but unable to due to the following message.
The same error affects a few of the sample ones (apikey, oauth ones)
The problem is ExpensiveProduct and CheapProduct are already remeoved
I have tried to use the rest endpoint through http://docs.apigee.com/management/apis/delete/organizations/%7borg_name%7d/apis/%7bapi_name%7d with same result.
And when i try to remove the referred product (ExpensiveProduct, CheapProduct),
I get a 404 error
"message": "APIProxy named ExpensiveProduct does not exist in organization ..."
Thanks,
Sun
Solved! Go to Solution.
Thanks for sharing the org name. I checked in your org and found that the API Products "ExpensiveProduct" and "CheapProduct" still exist.
1. If you use the List API Products for your org "sunny-test", it lists the following API Productsasdaas
[ "ExpensiveProduct", "CheapProduct", "PremiumWeatherAPI" ]
2. In the UI, if you go to "Publish" Tab and select "Products", it displays the following 3 Products:
Premium API bundle Entry level API bundle Premium Weather API
3. However, if you go inside each of the product, you see that "Name" of the Product and "Display Name" of the Product are different.
For ex: The Product "ExpensiveProduct" has the display name "Premium API bundle" and "CheapProduct" has the display name "Entry level API bundle"
4. In the UI, the Products are displayed by their respective Display Names. Hence, you might have thought that ExpensiveProduct and CheapProduct are already deleted.
5. These products are referring to API proxies like apikey, oauth-authcode etc. So, you are not able to delete them.
If you want to delete the API proxies, either
Regards,
Amar
Is this on OPDK or Cloud ? If it's on Cloud, can you please share the org name ?
I will look into the issue and update you.
Regards,
Amar
This is cloud. Org name "sunny-test"
Thanks.
Thanks for sharing the org name. I checked in your org and found that the API Products "ExpensiveProduct" and "CheapProduct" still exist.
1. If you use the List API Products for your org "sunny-test", it lists the following API Productsasdaas
[ "ExpensiveProduct", "CheapProduct", "PremiumWeatherAPI" ]
2. In the UI, if you go to "Publish" Tab and select "Products", it displays the following 3 Products:
Premium API bundle Entry level API bundle Premium Weather API
3. However, if you go inside each of the product, you see that "Name" of the Product and "Display Name" of the Product are different.
For ex: The Product "ExpensiveProduct" has the display name "Premium API bundle" and "CheapProduct" has the display name "Entry level API bundle"
4. In the UI, the Products are displayed by their respective Display Names. Hence, you might have thought that ExpensiveProduct and CheapProduct are already deleted.
5. These products are referring to API proxies like apikey, oauth-authcode etc. So, you are not able to delete them.
If you want to delete the API proxies, either
Regards,
Amar
Thanks!!
That was it!
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |