KB Article #181453

Cannot delete an API that has been virtualized

Problem

An API in API Manager cannot be deleted, reporting "Cannot delete an API that has been virtualized" even though it is not actually virtualized.

Resolution

This may happen due to data corruption errors. The attached script will make REST calls to remove the bad data. It requires the curl, jq and tr utilities to be available to work. You must chmod +x the script, rename it as desired, and edit these variables at the top of the script to reflect your environment:

server=adminnodemanager_hostname
port=8090
instance=instance-1
username=admin
password=changeme