We find that there are policies that should not exist in "Available APIs". (see screenshot 1)
The case is like this:
We would like to know why would this happen and how can we remove the unwanted policies from "Available APIs".
Thank you in advance on your reply!
The list of APIs from the 1st screenshot is retrieved from the filesystem, whereas the list of APIs from the 2nd screenshot is retrieved from a call to the API Gateway. The issue you are seeing is what we refer to as "Orphaned APIs", where an API that was removed or changed on the API Gateway still has a reference to it on the filesystem, and thus is still visible in the dropdown (1st screenshot) even though it's not listed on the APIs page (2nd screenshot).
We have a knowledge base article that discusses this, as well as providing instructions on how to remove the orphaned APIs:https://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.tec0000001409.html
It solves my problem nicely!
I also find the standard way to remove an API : Remove APIs - CA API Developer Portal - 3.5 - CA Technologies Documentation