Deleting one of the Organizations returned the following error:
error": "Unable to delete a Organization in use by an APPLICATION"
Al Supported versions of API Developer Portal.
Run the following query using the OrgUUID of the Organization that could not be deleted:
select * from API_KEY_APPLICATION_ORGANIZATION_VIEW where ORGANIZATION_UUID='XXX'
The query will return lingering Application assigned to the Organization with a status of Rejected.
------------------------
Delete the Application which is in Rejected status and then delete the Organization.