I am building a multi tenant application. We are not using Azure Active directory. We are using logic apps as a back-end services. Since each and every API url has a parameter tenant, we wanted to include at the API management level.
https://apm-eso-01.azure-api.net/{tenant}/v1/{siteid}/inventoryItems
Is there any possibility to add path parameter to the host URL at the API Management level rather than including at the logic app as a relative path.
Backend Urls. We have different instnaces/servers for each tenants
Tenant1 :
https://esous-devpd1.host.com/retail/data/esosm/api/v1-beta2/get/1
Tenant2:
https://esospanish-devpd1.host.com/retail/data/esosm/api/v1-beta2/get/1
APIM Urls
https://apm-eso-host-sbx-01.azure-api.net/lse/{tenant}/ esosm/api/v1/get/1
In-order to support the place holder for tenant at the APIM url/endpoints, I should add tenant place holder or path parameter to the backend url as below.
https://esous-devpd1.host.com/retail/data/esosm/{tennant}/api/v1-beta2/get/1
But all my urls should have tenant as a path parameter.
So my question is can we add tenant place holder or path parameter to the APIM end point and just rewrite the backend server url as such to include the tenant parameter rather than adding it to the backend url