I have looked into the Rewrite URL for azure APIM but I don't know if this is the right approach as it looks like its more for the operations
I have an API Management instance (https://my-apim.azure-api.net) with 2 APIs:
AP1 1:- https://my-apim.azure-api.net/api1
AP1 2:- https://my-apim.azure-api.net/api2
I want to implement a case where the APIM redirects to the login page (e.g https://www.mywebsite.com/login) if my APIM is called without the API suffix (e.g. "/api2").
How would I go about this?