Is it possible to create multiple APIs in Azure APIM that contain path parameters. I want to create multiple apis like this:
Users
https://{MyAPI}.azure-api.net/organisations/{orgId}/users
EntityTypes
https://{MyAPI}.azure-api.net/organisations/{orgId}/entitytypes
Workflows
https://{MyAPI}.azure-api.net/organisations/{orgId}/workflows
I need to give different products access to different Apis. eg. One product only has access to Users and UserTypes and the other has access to everything.
Is this possible in Azure APIM?
I tried adding the path parameter in the API URL suffix field but keep getting URL invalid error. I also have not seen any of this in the documentation. (I might be going with this the wrong way)
EDIT: Updated question layout.
You can add the below URLs in Azure APIM in the following way-
Users
https://{MyAPI}.azure-api.net/organisations/{orgId}/users
EntityTypes
https://{MyAPI}.azure-api.net/organisations/{orgId}/entitytypes
Workflows
https://{MyAPI}.azure-api.net/organisations/{orgId}/workflows
Initially, I created an API
Then added Users, EntityTypes and Workflows as operations in it.
You can check the Json file wherein orgid is added as a path parameter.
In this way, you can add the path parameters.