@Michal Jarzab Thank you for reaching out to Microsoft Q&A. Based on my understanding, you are trying to set up custom subdomains for each API (demo, sales) like demo.example.api.com
, sales.example.api.com
. Unfortunately, this is not possible since custom domains can be set only at gateway level (not product or API level) and refer other thread for similar discussion.
As discussed in other thread, you can create additional domains like demo.example.api.com
, sales.example.api.com
for APIM gateway and set up demo or sales suffix like you mentioned above (for each API) and then restrict each domain to a specific API. To restrict each API to a custom domain has been already discussed here). You can share your feedback with our product team via aka.ms/apimwish so that others can upvote it too. I also agree this feature would be benefit a lot of users as well.
If you have any questions on this, feel free to add a comment and would be happy to answer. Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.